Re: Change the look of a button.

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Herfried K. Wagner [MVP] (hirf-spam-me-here_at_gmx.at)
Date: 11/12/04


Date: Fri, 12 Nov 2004 17:40:52 +0100


"Rudy" <Rudy@discussions.microsoft.com> schrieb:
> Can you take a button, color it green, have the user click on it, change
> the
> color to red, to show it has been selected. IF so, how?

\\\
DirectCast(sender, Control).BackColor = Colors.Red
///

-- 
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/> 


Relevant Pages

  • Re: print the contents of a Panel
    ... "nate axtell" schrieb: ... > What can I use to print the specific panel in my application? ... Herfried K. Wagner [MVP] ...
    (microsoft.public.dotnet.languages.vb)
  • Re: ResourceManager Problem
    ... "Tracey" schrieb: ... I'm studying localization topic in .Net framework. ... Herfried K. Wagner [MVP] ...
    (microsoft.public.dotnet.languages.vb)
  • Re: cannot run correctly from shell... :(
    ... "Leszek Gruszka" schrieb: ... > Dim aplik as integer ... Herfried K. Wagner [MVP] ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Application Path
    ... "Bernard Bourée" schrieb: ... Did you concatenate the link? ... Herfried K. Wagner [MVP] ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Application Path
    ... "Bernard Bourée" schrieb: ... > How to obtain the runing application path? ... Herfried K. Wagner [MVP] ...
    (microsoft.public.dotnet.languages.vb)