Results 1 to 4 of 4

Thread: Colored command buttons

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2000
    Location
    Oshkosh, WI
    Posts
    163

    Post

    I know it is possible to change the background color of command button by using the graphical style of button. However there is no easy way to set to color of the button text. I have a requirement for a button with a black background with white text. I'm sure I can do this with a 3rd party control. But I'd much rather do this with standard VB controls and the API.


    [This message has been edited by Glenn (edited 01-24-2000).]

  2. #2
    Guest

    Post

    You can't. MS again messed up and forgot to add this little "Oversite".

    I use Labels to do what I want my command buttons to do.

    Bottom line, switch to labels or put a picture in the command button. It's the only way, unless you want to literally replace the Users' COLOR system, then you would need the API calls for the system colors.

    Knight Vision


    [This message has been edited by Knight_Vision (edited 01-24-2000).]

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jan 2000
    Location
    Oshkosh, WI
    Posts
    163

    Post

    Thanks for the idea. I'll give it a try.

  4. #4
    Hyperactive Member Al Smith's Avatar
    Join Date
    May 1999
    Location
    Marcellus, MI. USA
    Posts
    330

    Post

    Hi,
    Another trick is to use an option button which you can make act like a command button.
    Set the style to graphical and you can set the fore and back colors.
    This is the suggestion posted most on this site regarding this question.
    Al.


    ------------------
    A computer is a tool, not a toy.
    <A HREF="mailto:[email protected]
    [email protected]">[email protected]
    [email protected]</A>


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