Discussion Locked
0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Could I change the Caption Color that is displayed on the command button in Visual Basic?
7 replies
by fofa
There is a foreground color via the font you can use.
The question was auto-closed by TechRepublic
The easiest way is to use a transparent GIF with the font and color you want and set the Picture property to that picture.
The only other way I can think of is to hook into the system and intercept the WM_CTLCOLORBTN message and set the foreground color.
The question was auto-closed by TechRepublic
by rsv
Hi,
The only solutions I know is, make a image/picture with the desired font and color and set the command button's style property to Graphical and pass the picture name to the Picture property of the command button. This way you can achieve what you want.
Hope this will help you. :)
The question was auto-closed by TechRepublic
This question was auto closed due to inactivity
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending
0 helpful
1 reply
0 helpful
1 reply
0 helpful
1 reply
1 helpful
3 replies
Question
Windows and macOS computers becoming slow or unstable after updates - what should I check first
0 helpful
1 reply