Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mouse Movements on Command Buttons
Message
 
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:
00629573
Views:
8
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform