Results 1 to 3 of 3

Thread: Command button

  1. #1

    Thread Starter
    Hyperactive Member badgers's Avatar
    Join Date
    Sep 1999
    Location
    Madison, WI USA
    Posts
    444

    Post

    how do I change the color of a command button and the color of the text?
    I want to make the button black with white text.
    thank you for your time and have good day

    ------------------
    I am so skeptacle, I can hardly believe it!

  2. #2
    Guru Aaron Young's Avatar
    Join Date
    Jun 1999
    Location
    Red Wing, MN, USA
    Posts
    2,177

    Post

    You can change the BackColor Property of a Command Button if the Style Property is set to 1 - Graphical, you can't however change the ForeColor, (probably could with Subclassing), instead, you could use a Checkbox with a Style Property of 1 - Graphical and add the line:

    Check1 = 0

    in the Click Event, this will make the checkbox look and act like a Command Button, but you can change both the BackColor and the ForeColor to anything you want.



    ------------------
    Aaron Young
    Analyst Programmer
    aarony@redwingsoftware.com
    ajyoung@pressenter.com


  3. #3
    Lively Member
    Join Date
    May 1999
    Location
    Vancouver, BC, Canada
    Posts
    84

    Post

    I use a shareware program called IconEdit Pro available at download.com. With this software you can create any style button face.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width