Changing the text color of the button

Hi

I want to know if there are any api or any other method by which u can change the text/foreground color of the button.

Thanks
LVL 4
agarwal_rahulAsked:
Who is Participating?
 
RuchiConnect With a Mentor Commented:
Thanks very much, Rahul. I'm glad that I could help..
0
 
Erick37Commented:
Add a reference to:

Project->Components->Microsoft Forms 2.0 Object Library

The command button in that library has a ForeColor property
0
 
ArkCommented:
Hi
You can draw your own button using PictureBox. If you need sample code, I'll post it.
Cheers
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
johnsandCommented:
{buttonname}.forecolor = vbRed
0
 
caraf_gCommented:
VB buttons don't have a forecolor.
0
 
caraf_gCommented:
"Microsoft Forms 2.0 Object Library"
Please avoid that like the plague. It's vile. You can't even tab backwards off those controls. Evil yokes indeed. Yuck...
0
 
RuchiCommented:
Rahul, any news here?
0
 
RuchiCommented:
Rahul, are you still there? any news here?
0
 
agarwal_rahulAuthor Commented:
That is not possible

Ruch can u post ur comment as answer and claim the points

Thanks
0
 
agarwal_rahulAuthor Commented:
My first comment was for johnsand....


Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.