Davinder has attended:
Excel VBA Intro Intermediate course
Roll on/off buttons
Is it possible to create buttons on a form and make them change colour when you hover the mouse over the button to give a form a more professional look and feel?
I presume you will need two images of the same button so you can determine what the button looks like when the mouse is over and not over the button but what code would you need to use in order to obtain this effect?
RE: Roll on/off buttons
Hi Davinder, thanks for your query. It's more complicated than you might think! The use of two images to create a rollover is a web browser feature and to create the same effect on a VB form takes some coding. Have a look at this thread:
http://www.ozgrid.com/forum/showthread.php?t=62478& ;page=1
If you want to soup up the look of the forms, have a look on the net for some free bespoke form controls, usually saved as OCX files. When you install these they become available in your controls toolbox and and you can use them on your form in the usual way, but they can be much more visually interesting than the standard grey controls.
Hope this helps,
Anthony