Hi,
I'm comparing Lazarus LCL to fpGUI here. Currently both GUI toolkits
produce the same result, but never the less I would like to confirm
this. I've had past experience with LCL and events firing in the
wrong order. ;)
In the example below, I dropped a TLabel on a Form and implemented the
TLabel's OnMouseDown, OnMouseUp, OnClick and OnDblClick events to
write output the the console.
This way I can visually see the order of events.
This is what I got after a double click on the TLabel.
MouseDown
OnClick
MouseUp
MouseDown
OnDblClick
MouseUp
Can anybody confirm that this is indeed the correct order for events?
At one stage I wasn't sure if (in fpGUI) the OnDblClick should occur
after the last MouseUp. In the end I decided to trigger it before the
last MouseUp, as shown above.
Regards,
- Graeme -
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives