Change disabled buttons appearance
Hi there,
How do you maintain the appearance of a disabled button in VB.Net? Basically, when I click a button, I want its background colour and font colour to stay exactly the same as before I clicked it.
I'm very new to this so a simple explanation would be appreciated! Thanks :)
Re: Change disabled buttons appearance
It's a very bad idea to make a disabled control look the same as an enabled control. Visual cues like that change of appearance are very important to a user in a GUI application. Take those away and your application behaves in an unexpected manner, thus causing confusion for the user. That is never a good thing.
If you really must do something like that then you'd have to draw the appearance of your Button yourself.