Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to make the buttons do a rollover
Message
 
To
08/08/2000 20:05:26
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Miscellaneous
Thread ID:
00402592
Message ID:
00402594
Views:
6
Hi Renoir,

Have you tried looking up MouseOver effects in help?

There's a class included with vfp that does this.

Alex


>I'm trying to have the buttons in an app have a rollover type of behavior where greyed-out buttons fill with color when the mouse is over them (think of the style used in WinZip). I have been able to do it using the the MouseMove event to change the objects picture propertie, but at a cost of an annoying cursor flickering. I've tried to only perform the MouseMove while the cursor is on the perimiter of the button (using the nXCoord and nYCoord in conjunction with the Top, Left, Width and Height properties), but it seems to be able to jump across sometimes and the rollover picture never appears. A simple MouseOver event would be nice (like is used for the ToolTips event)...and don't think I haven't tried to find a way to use that, but to no avail. Can this be done without using MouseMove? Or at least without the constant flicker or inconsistency problem?
>
>Regards, Renoir
Low-carb diet not working? Try the Low-food diet instead!
Previous
Reply
Map
View

Click here to load this message in the networking platform