Solved

Changing the text color of the button

Posted on 2000-03-23
11
158 Views
Last Modified: 2010-05-02
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
0
Comment
Question by:agarwal_rahul
  • 4
  • 2
  • 2
  • +3
11 Comments
 
LVL 32

Expert Comment

by:Erick37
ID: 2651832
Add a reference to:

Project->Components->Microsoft Forms 2.0 Object Library

The command button in that library has a ForeColor property
0
 
LVL 27

Expert Comment

by:Ark
ID: 2651988
Hi
You can draw your own button using PictureBox. If you need sample code, I'll post it.
Cheers
0
 
LVL 9

Expert Comment

by:Ruchi
ID: 2652081
0
 
LVL 1

Expert Comment

by:johnsand
ID: 2652188
{buttonname}.forecolor = vbRed
0
 
LVL 10

Expert Comment

by:caraf_g
ID: 2652519
VB buttons don't have a forecolor.
0
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
LVL 10

Expert Comment

by:caraf_g
ID: 2652524
"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
 
LVL 9

Expert Comment

by:Ruchi
ID: 2668278
Rahul, any news here?
0
 
LVL 9

Expert Comment

by:Ruchi
ID: 2738072
Rahul, are you still there? any news here?
0
 
LVL 4

Author Comment

by:agarwal_rahul
ID: 2740964
That is not possible

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

Thanks
0
 
LVL 4

Author Comment

by:agarwal_rahul
ID: 2740966
My first comment was for johnsand....


Thanks
0
 
LVL 9

Accepted Solution

by:
Ruchi earned 50 total points
ID: 2741160
Thanks very much, Rahul. I'm glad that I could help..
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now