?
Solved

Changing the text color of the button

Posted on 2000-03-23
11
Medium Priority
?
170 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 28

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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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
 
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 150 total points
ID: 2741160
Thanks very much, Rahul. I'm glad that I could help..
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…
Suggested Courses
Course of the Month15 days, 19 hours left to enroll

850 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