Click to See Complete Forum and Search --> : Forecolor of a CommandButton


SAKYA
May 7th, 2001, 07:42 AM
How can i change the forecolor of a Command button?thanks in advance for any reply.

Iouri
May 7th, 2001, 07:54 AM
Change Style to Graphical and then change the background color

to change forecolor

Put textbox over command button caption. Set the backolor of the text box to the color of the
command button, set borders to None. Change the ForeColor of the Text box.
If you use this, don't forget to add
Private Sub Text1_Click()
Command1_Click
End Sub



Iouri Boutchkine
iouri@hotsheet.com

TH1
May 7th, 2001, 08:05 AM
http://www.codeguru.com/cgi-bin/bbs/wt/showpost.pl?Board=vb&Number=32351&Search=true&Forum=vb&Words=forecolour&Match=Whole&Topic=&Searchpage=0&Limit=25

SAKYA
May 7th, 2001, 08:09 AM
hey thats nice.thanks a lot.that is good enough for me.but still i'd like to know if there is any API function available to do it.