Solved

Changing the text color of the button

Posted on 2000-03-23
11
161 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
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

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

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

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…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…

816 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

10 Experts available now in Live!

Get 1:1 Help Now