|
-
Apr 5th, 2002, 02:59 PM
#1
Thread Starter
Lively Member
how to change Color of the writing on command buttons
I have multi colour command buttons, but i need to change the colour of the writing from black to say white.
because the colours are so bold the standard blck is not readable.
any ideas on how i can do this, which property needs changing.
hope someone can help (my snooker scoring app)
regards
Dan
Newie so thanks for your patience.
-
Apr 5th, 2002, 03:10 PM
#2
You are talking about changing the forecolor of a command button.
Dan, I hope you are sitting down, 'cause you ain't gonna believe what you have to do.
Change Command Button Forecolor
-
Apr 5th, 2002, 03:14 PM
#3
Or ...
You can use an option button to do this and change its style to graphical.
-
Apr 5th, 2002, 03:16 PM
#4
Originally posted by Negative0
You can use an option button to do this and change its style to graphical.
I was going to wait until he recovered and then suggest an option button or a checkbox.
-
Apr 5th, 2002, 03:19 PM
#5
Thread Starter
Lively Member
@ Hack
Thanks
i had a nasty feeling it was gonna be a little more tricky than i thought. Well my snooker app will have to stay as it is.
you saved me from hours of hunting
kind reagrds
dan
Newie so thanks for your patience.
-
Apr 5th, 2002, 03:22 PM
#6
As Negative0 suggested (and I was going to ), you can use option buttons and checkboxes, with their style set to graphical to give the appearance of a command button, and they have forecolor properties that are easily set.
-
Apr 5th, 2002, 03:33 PM
#7
Fanatic Member
On a side note: Does anyone know WHY microsoft could have possibly thought it would be a good idea to make it so difficult to change the color of a command button's text?
If wishes were fishes we'd all cast nets.
-
Apr 5th, 2002, 03:35 PM
#8
Little hidden things that impress them.
You know, Dan comes running in "I changed the color of my command button." and they give him a day off. . .
-
Apr 5th, 2002, 03:46 PM
#9
Thread Starter
Lively Member
Thanks all, as the VB book im reading says, its these little things that make programming interesting.
not sure that i agree.
thanks again
Dan
Newie so thanks for your patience.
-
Apr 5th, 2002, 03:53 PM
#10
Hyperactive Member
hi
u can change the fore color of ur command button by writing ur own usercontrol..
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
|