Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Category:
Pictures and Image processing
Title:
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only