Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mouse Movements on Command Buttons
Message
De
07/03/2002 05:23:58
 
 
À
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:
00629418
Vues:
17
Hi Ashish,

Make one variable assign value. write validation in mouse move if a=1 thisbutton.picture.abc else original bmp which u want.
Hope it will work. Incase not let me know will check .

Bye

>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
Sajjad Ahmad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform