Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Rolo,
1) I have a commandbutton painted with color A. 2) I would like that when I move the mouse over it the button get painted with color B. (This is easily done with "mousemove"). 3)But when I move the mouse outside the button I would like to get it painted with original color A. The problem with mousemove is that it triggers an event when I move over the button but it doesn´t come back to original situation when I leave movng over the button. If the button is on a worksheet, you could paint a rectangle behind the button and use the rectangle's mousemove event to change the color of the button. Otherwise, if it is on a userform, use the mousemove event of the form itself. Regards, Jan Karel Pieterse Excel MVP www.jkp-ads.com |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
activate/deactivate macro depending on who's the user | Excel Discussion (Misc queries) | |||
Links is in gray color (deactivate). How can I activate? | Excel Discussion (Misc queries) | |||
Changing sheets after the DeActivate Event. | Excel Discussion (Misc queries) | |||
Workbook Deactivate Event | Excel Programming | |||
Can´t Convert Formulas to Values with Deactivate event | Excel Programming |