Hi Gary
Yes, that is what I mean too. If you take a look in the help file, you will see, that the ImageButton has the Events ButtonDown ButtonUp Click listed.
But if you look at AddEvent(), the ImageButton is not listet as a Control which support events.
My opinion was: There is the button listed and ImageButton is a member of buttons or buttons are the parent of it and ImageButton will inherit the same events. After a look at the designer by Events for a ImageButton, I found it there too. So for me it was clear. ImageButon has those three events.
Now I think it is forgotten to implement or the connections from the Button Class do not trigger correctly.
How ever, it is a work for Erel I think. You and me can't found a wrong code on this smal example and it is a quite easy one.
At time I use the FormEvent MouseDown(x,y) and MouseUp(x,y) for analysing the position and for to get my information which button is down or up.
Thanks for your help
Haschi
|