Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to make the buttons do a rollover
Message
De
08/08/2000 20:05:26
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Titre:
How to make the buttons do a rollover
Divers
Thread ID:
00402592
Message ID:
00402592
Vues:
66
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform