5 Replies - 6499 Views - Last Post: 20 February 2011 - 12:06 PM Rate Topic: -----

#1 levin  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 24
  • Joined: 08-February 11

Command Button Text Color?

Posted 16 February 2011 - 07:42 PM

Is there any way i could change the forecolor of a command button in VB 6.0?
Is This A Good Question/Topic? 1
  • +

Replies To: Command Button Text Color?

#2 chuckjessup  Icon User is offline

  • D.I.C Regular

Reputation: 33
  • View blog
  • Posts: 380
  • Joined: 26-October 09

Re: Command Button Text Color?

Posted 16 February 2011 - 07:50 PM

I dont think so, i dont see the command1.forecolor option or a command1.font.color option... sorry...

Jesse Fender
Was This Post Helpful? 0
  • +
  • -

#3 maj3091  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 299
  • View blog
  • Posts: 1,755
  • Joined: 26-March 09

Re: Command Button Text Color?

Posted 17 February 2011 - 01:03 AM

Has Jesse has said, there is no forecolor property of the button, but there are a couple of workarounds.

Look HERE and HERE for some examples.
Was This Post Helpful? 0
  • +
  • -

#4 Jupiter 2  Icon User is offline

  • New D.I.C Head

Reputation: -1
  • View blog
  • Posts: 40
  • Joined: 05-June 09

Re: Command Button Text Color?

Posted 17 February 2011 - 02:41 PM

View Postlevin, on 16 February 2011 - 07:42 PM, said:

Is there any way i could change the forecolor of a command button in VB 6.0?

Yes, there is a way. In the Properties of the Command button, select Style > Graphical then select BackColor > Palette then choose your colour.
Was This Post Helpful? 0
  • +
  • -

#5 chuckjessup  Icon User is offline

  • D.I.C Regular

Reputation: 33
  • View blog
  • Posts: 380
  • Joined: 26-October 09

Re: Command Button Text Color?

Posted 19 February 2011 - 10:02 PM

View PostJupiter 2, on 17 February 2011 - 01:41 PM, said:

View Postlevin, on 16 February 2011 - 07:42 PM, said:

Is there any way i could change the forecolor of a command button in VB 6.0?

Yes, there is a way. In the Properties of the Command button, select Style > Graphical then select BackColor > Palette then choose your colour.



Um... Dude you need to read the original posters question! We were not wrong, and defiantly not deserving of a negative vote. He wanted to change the text color on the buttons which there is no property for this action on the command button... At all... You were correct about the back color but it wont change the text color... Please revoke your negative votes on major and myself.

Jesse Fender
Was This Post Helpful? 0
  • +
  • -

#6 maj3091  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 299
  • View blog
  • Posts: 1,755
  • Joined: 26-March 09

Re: Command Button Text Color?

Posted 20 February 2011 - 12:06 PM

I've put your's back Jesse, perhaps you'll return the favour.....Can't understand some people....
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1