Re: Buttons / ForeColor Property
- From: "Rick Rothstein" <rickNOSPAMnews@xxxxxxxxxxxxxxxxx>
- Date: Wed, 29 Jun 2005 12:51:41 -0400
"George H. Slamowitz" <GSlamowitz@xxxxxxx> wrote in message news:6FBF7930-C93E-49B2-B4E5-98DEE6FD514A@xxxxxxxxxxxxxxxx
> I have a button that has text on it ..
>
> The text is in black, and when the button is selected I want to turn the
> text to red.
>
> In MS Access all you had to do is change the forecolor property, but VB 6
> does not seem to have that property that can be set ... is there any way to
> get to that property
The first one is an API method of doing this and the second one is a kludge that works very nicely...
http://vbnet.mvps.org/code/subclass/buttoncolour.htm
http://vbnet.mvps.org/code/intrinsic/buttoncolorcheck.htm
Rick - MVP
.
- References:
- Buttons / ForeColor Property
- From: George H. Slamowitz
- Buttons / ForeColor Property
- Prev by Date: Re: RaiseEvent from an item to collection
- Next by Date: Re: RaiseEvent from an item to collection
- Previous by thread: Buttons / ForeColor Property
- Next by thread: "scrrun.dll" not compatible in different languages?
- Index(es):