|
-
Jan 26th, 2010, 07:21 AM
#1
Thread Starter
Lively Member
[RESOLVED] CommandButton Color
what is the command & paramerets to CommandButton Color?
Thanks!
Y
-
Jan 26th, 2010, 07:27 AM
#2
Re: CommandButton Color
Set the Style property to Graphical. Then select the color for the button in Backcolor property.
If my post was helpful to you, then express your gratitude using Rate this Post. 
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet
Social Group: VBForums - Developers from India
Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...
-
Jan 26th, 2010, 07:31 AM
#3
Re: CommandButton Color
Not sure what you mean but if you are asking how change the color of a button you change the BackColor property to the desired color and the Style property to "1 - Graphical".
Backcolor can be set through code e.g.: "Command1.BackColor = vbRed". However, the Command1.Style property is read-only during runtime and can only be set to "1 - Graphical" at design time.
If that is not what you were looking for, can you please elaborate as to what information you seek ?
Kind Regards,
Optional
If you feel this post has helped in answering your question please return the favour and Rate this post.
If your problem has been solved and your question has been answered mark the thread as [RESOLVED] by selecting the Thread Tools menu option at the top and clicking the Mark Thread Resolved menu item.
VB6 - (DataGrid) Get the Row selected with the right mouse button
-
Jan 26th, 2010, 08:17 AM
#4
Thread Starter
Lively Member
Re: CommandButton Color
Yes, Thanks for your help!
-
Jan 26th, 2010, 08:30 AM
#5
Re: CommandButton Color
Please Mark the thread as RESOLVED, if you find a solution to your problem...
If my post was helpful to you, then express your gratitude using Rate this Post. 
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet
Social Group: VBForums - Developers from India
Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...
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
|