Drawing on the panel still has glitches. Events are send to the panel not to the widget. Sapient sorry for breaking the coding standard too lazy do convert the 0's ;-).