Changing Foreground color on a CommandButton
Posted on 1998-09-03
In VB5 I want to change the colors on a CommandButton to show a White Caption on a Red Backgound.
If I change the Style property of the CommandButton to 1 (Graphical) and the BackColor property to VBRed then I get the background color I want. However, there is no ForeColor property listed for a CommandButton, so the Caption letters remain Black, which is hard to read on the Red background.
Is there any way to do this, perhaps with an API call?