Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mouse Movements on Command Buttons
Message
 
À
07/03/2002 02:14:14
Ashish Patel
Hindustan Petroleum
Mumbai, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00629392
Message ID:
00629573
Vues:
13
>Hi
>
>On my Nevigational buttons I have set .picture and .disabled property to some bmp files.
>
>It works fine. Now I want to display different bmp file when the mouse pointer is there on the button and it is not disabled. And when mouse moves out of the button then the old bmp (i.e. default bmp) should be displayed.
>
>I have return the following code on mousemove event of command button
>if this.enabled = .t.
> this.picture = "new.bmp"
>endif
>
>This works fine. But how can I set the default picture when the mouse is moved out of button. I am using VFP6.
>
>
>Thanks in Advance
>
>Ashish Patel

I'm using VFP 7 so I'm not sure if this event exists in VFP6, but there is a MouseLeave() event where you can set it back.

Mark Swiencki
EPS Software Corp.
Mark S. Swiencki
EPS Software www.eps-software.com
mark@eps-software.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform