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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement