473,320 Members | 1,900 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

forecolor of button ???

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...
Nov 21 '05 #1
4 1451
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.
"Chris C" <cm****@yahoo.com> wrote in message
news:%2****************@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...

Nov 21 '05 #2
Chris,

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

general.discussion the most active one
news://msnews.microsoft.com/microsof...ral.discussion

When it does not go.

Web interface:
http://www.microsoft.com/communities...ral.discussion

I hope this helps,

Cor
Nov 21 '05 #3
Hallo Chris!

"Chris C" <cm****@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/>

Nov 21 '05 #4
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

"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...

Nov 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Pieter Linden | last post by:
Hi, Hopefully it's just me missing something obvious (but at 2AM, not much is obvious, I guess...) I have a table of courses that people have taken (StudentID,CourseID) and the user selects a...
0
by: Tim | last post by:
Hi There I am trying to override the forecolor of a radio button when the flat style is set to system. I am using a manifest file. If you set the name to the same name as your exe with .manifest...
5
by: Bernie Yaeger | last post by:
When you use xp styles Application.EnableVisualStyles() Application.DoEvents() and you change a control's flat style to 'system', you then are not able to set the control's forecolor,...
0
by: ck.kislay | last post by:
If ,I change the alpha value of forecolor of control like button in VS 2005 then the forecolor didnot show the variation ,forecolor still unchanged while changing the alpha value. I want to show...
7
by: moondaddy | last post by:
in asp.net 2.0, i have a link buttonand want to change the forecolor in a mouse over event. how can I do this? -- moondaddy@noemail.noemail
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.