Use a timer. This way you can define your new "object" as an independent class that can be droped anywhere. If you use the mousemove event of the parent object, your command button will depend on the its parent.
Use the sys(1270) function to determine which object is under mouse.
Vlad
>I want to change picture1 on a command button with picture2 when the mouse cursor is on that button.I have placed code in the mouse move event to change the picture1 to picture2 but when the mouse cursor moves away from the command button the second picture remains.How do I bring back the first picture on the command button?
>Thank You All
>Zaraq Bari
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only