Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Catégorie:
Photos et traitement d'images
Titre:
How to make the buttons do a rollover
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement