Results 1 to 5 of 5

Thread: Command Button help

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2005
    Posts
    5

    Command Button help

    How do i make the command button a different color. i have the mask and back color red but it still shows up gray.

  2. #2
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    Re: Command Button help

    Change its Style Property to 1-Graphical.
    Show Appreciation. Rate Posts.

  3. #3
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Command Button help

    Welcome to the forums!

    You don't need to set the mask color, but you do need to set the button style to graphical. This changes the button backcolor to blue.

    VB Code:
    1. Option Explicit
    2.  
    3. Private Sub Form_Load()
    4.   Command1.BackColor = vbRed
    5. End Sub

  4. #4

    Thread Starter
    New Member
    Join Date
    Dec 2005
    Posts
    5

    Re: Command Button help

    awesome thanks for the help

  5. #5
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    Re: Command Button help

    No problem
    Show Appreciation. Rate Posts.

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