Creating user object, derived from button
Posted on 2007-09-28
I have the following. I experimented with dynamic buttons on my screen. I added them and i had 3 events (mouseDown, mouseUp & mouseMove) for dynamically moving the buttons on the screen.
In the MouseUp, I make sure that the buttons can't overlap each other.
How can I create an userobject from this button (object will be named table), derived from the button-object ?
How can I check with the MouseUp event that this object doesn't overlap other objects on the form where this object is placed on ?
(I haven't created an userobject wiht events before)