Home All Groups Group Topic Archive Search About

forecolor of button ???

Author
15 Apr 2005 9:40 AM
cmrchs@yahoo.com
Hi,

how do you set the ForeColor of a commandbutton, not in VB.NET but in VB 6.0 ?
there is no ForeColor-property available !! nor Color or anything

sorry for asking in this newsgroup but I have no access to the VB-newsgroup.

thanks
Christian

**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...

Author
15 Apr 2005 9:56 AM
JohnFol
If you want to set it's colour, just use the backcolor. If you want to
change the font's colour, you can't. If you only need the OnClick event, and
don;t need to default it, consider using another control and making it look
like a button.


Show quoteHide quote
"Chris C" <cmr***@yahoo.com> wrote in message
news:%23Ciz78ZQFHA.2604@TK2MSFTNGP10.phx.gbl...
> Hi,
>
> how do you set the ForeColor of a commandbutton, not in VB.NET but in VB
> 6.0 ?
> there is no ForeColor-property available !! nor Color or anything
>
> sorry for asking in this newsgroup but I have no access to the
> VB-newsgroup.
>
> thanks
> Christian
>
> **********************************************************************
> Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
> Comprehensive, categorised, searchable collection of links to ASP &
> ASP.NET resources...
Author
15 Apr 2005 10:04 AM
Cor Ligthert
Chris,

When you use this link you probably have access to the VBCom newsgroups.

general.discussion the most active one
news://msnews.microsoft.com/microsoft.public.vb.general.discussion

When it does not go.

Web interface:
http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.vb.general.discussion

I hope this helps,

Cor
Author
15 Apr 2005 10:41 AM
Herfried K. Wagner [MVP]
Hallo Chris!

"Chris C" <cmr***@yahoo.com> schrieb:
> how do you set the ForeColor of a commandbutton, not in VB.NET but in VB
> 6.0 ?
> there is no ForeColor-property available !! nor Color or anything

Make sure you have searched the Google Groups archive:

<URL:http://groups.google.de/groups?q=commandbutton+vb+forecolor>

BTW:  microsoft.public.vb.controls would be more appropriate for future VB6
controls-related questions.

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
15 Apr 2005 1:32 PM
JamesT
Hi Chris,

Why not try using a Checkbox and setting its style to graphical.

you still have the click event and the first thing to do in the clicke vent
is set its value to 0.

this will then act just like a command button with a forecolor property.

jamesT

Show quoteHide quote
"Chris C" wrote:

> Hi,
>
> how do you set the ForeColor of a commandbutton, not in VB.NET but in VB 6.0 ?
> there is no ForeColor-property available !! nor Color or anything
>
> sorry for asking in this newsgroup but I have no access to the VB-newsgroup.
>
> thanks
> Christian
>
> **********************************************************************
> Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
> Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
>