By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,640 Members | 2,167 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,640 IT Pros & Developers. It's quick & easy.

ForeColor of Command Button

P: 56
Is there any way by which i can change the forecolor of a commandbutton in VB6???
Feb 1 '08 #1
Share this Question
Share on Google+
4 Replies


Ali Rizwan
100+
P: 927
Is there any way by which i can change the forecolor of a commandbutton in VB6???
You need to make your own control...
There is no option to change forecolor of a button in vb6.

Regards
>> ALI <<
Feb 1 '08 #2

debasisdas
Expert 5K+
P: 8,127
Vb 6 does not support this property.

You might need to use some third party control.

Try to use osenxpsuite controls
Feb 1 '08 #3

P: 1
Easiest way is to use a checkbox with its style set to graphical. Only thing you need to consider is to put your code into the mouseup event (not the click event) and set the checkbox's value to 0 to make it pop up again like a button.
Feb 1 '08 #4

P: 68
Is there any way by which i can change the forecolor of a commandbutton in VB6???
hey,
u can create ActiveX Control for ur need.If u need that code contact with me.

Regards,
shuvo2k6
Feb 1 '08 #5

Post your reply

Sign in to post your reply or Sign up for a free account.