|
-
Sep 27th, 2000, 06:02 PM
#1
Thread Starter
New Member
Is it possible to change the text color on a control?
I do use the graphical display and change the backcolor,
but I can seem to do the same with the forecolor....
Thanks,
Richard
-
Sep 27th, 2000, 06:07 PM
#2
_______
<?>
What control are you talking about...maybe the Command Button...that seems to pop up often. It doesn't have a forecolor property.
There are 2 ways around this. Sheridan Controls that ship with Vb have a button that has the property and if you want you can sub a check box for a command button.
Add a checkbutton and set the style to graphical and it changes shape and takes on the shape of a command button
and it has a forecolor property.
"A myth is not the succession of individual images,
but an integerated meaningful entity,
reflecting a distinct aspect of the real world."
___ Adolf Jensen
-
Sep 27th, 2000, 06:08 PM
#3
PowerPoster
Which control?
All standard controls (I think), except the command button, have a forecolor property.
Remaining quiet down here !!!
BRAD HAS GIVEN ME THE ULTIMATIVE. I have chosen to stay....
-
Sep 27th, 2000, 06:09 PM
#4
PowerPoster
Remaining quiet down here !!!
BRAD HAS GIVEN ME THE ULTIMATIVE. I have chosen to stay....
-
Sep 27th, 2000, 08:55 PM
#5
Depends on the control
Generally the forecolor property will change the caption color, except for controls where it is specifically for inputed data to the control, i.e textbox.
Worse case senario, use program code to change colour, something like
Code:
label.caption.color = vbwhite
First look at the properties, for some third party controls there are three or four separate properties to change colour, depending on normal, highlighted, etc
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|