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:
00402625
Views:
8
Renoir,
Look in the Files here - in Classes/VCX there's a Win98 Buttons file that seems to have the rollover effect included.

HTH
Barbara

>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
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform