Link to home
Start Free TrialLog in
Avatar of dprundle
dprundle

asked on

vb.net button colors

When making a button in VB.Net in visual studio 2005, how do I make the button so that the active button (button that is currently tabbed to) has a different background color than the rest of the buttons?
Avatar of Mike Tomlinson
Mike Tomlinson
Flag of United States of America image

Avatar of Autoeforms
Autoeforms

have you tried changing the .backcolor property in the gotfocus event.
i would remember the original color in private variable so you can set it back
in the lostfocus event.

good luck

greg
ASKER CERTIFIED SOLUTION
Avatar of Mike Tomlinson
Mike Tomlinson
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dprundle

ASKER

Thanks Idle, you're amazing as always.