Results 1 to 6 of 6

Thread: Button background color

Threaded View

  1. #2
    PowerPoster sparrow1's Avatar
    Join Date
    May 2005
    Location
    Globetrotter
    Posts
    2,820

    Re: Button background color

    Quote Originally Posted by mikebain
    I am trying to highlight the background color of a button when it is pressed and can do this by the following:
    cmd_low.BackColor = Color.Yellow
    but i need to change it back to the default button color when another button is pressed (buttonface). any ideas?

    Hi,

    Is it VB.Net 2003 or 2005!
    There are some buttons to let you make a selection.
    Any way It's the same for 2003 and 2005
    Try this;

    VB Code:
    1. Button1.BackColor = Color.Red

    Wkr,

    sparrow1
    Last edited by sparrow1; Jun 1st, 2006 at 04:52 PM.
    Wkr,
    sparrow1

    If I helped you, don't forget to Rate my post. Thank you

    I'm using Visual Studio.Net 2003 and
    2005
    How to learn VB.Net Create setup with VB 2005 Drawing for beginners VB.Net Tutorials GDI+ Tutorials
    Video's for beginners

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width