|
-
Dec 3rd, 2005, 11:59 AM
#1
Thread Starter
New Member
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.
-
Dec 3rd, 2005, 12:27 PM
#2
Re: Command Button help
Change its Style Property to 1-Graphical.
-
Dec 3rd, 2005, 12:28 PM
#3
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:
Option Explicit
Private Sub Form_Load()
Command1.BackColor = vbRed
End Sub
-
Dec 3rd, 2005, 12:32 PM
#4
Thread Starter
New Member
Re: Command Button help
awesome thanks for the help
-
Dec 3rd, 2005, 12:38 PM
#5
Re: Command Button help
No problem
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|