Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mouse Movements on Command Buttons
Message
From
07/03/2002 05:23:58
 
 
To
07/03/2002 02:14:14
Ashish Patel
Hindustan Petroleum
Mumbai, India
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00629392
Message ID:
00629418
Views:
22
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform