Results 1 to 6 of 6

Thread: text

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 2000
    Posts
    48

    Question

    How can i put colored text on a command button?

    Thanx
    Fred

  2. #2
    PowerPoster Lethal's Avatar
    Join Date
    Oct 2000
    Location
    Ohio
    Posts
    2,496

    Talking

    Sadly, but you can't. You could make your own custom command button by setting the style property of an option button to graphical, then go from there. hope this helps

  3. #3
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390

    Cool Can't Do it

    I would create 2 images (1 up and 1 pressed)
    the text color on a command button is determined by windows.
    JPnyc rocks!! (Just ask him!)
    If u have your answer please go to the thread tools and click "Mark Thread Resolved"

  4. #4
    Fanatic Member
    Join Date
    Aug 2000
    Posts
    736
    Check this link http://forums.vb-world.net/showthrea...threadid=42548

    VB6 has Sheridan controls (I had never heard of them until I read the thread above), that allow you to change the text color on a button.

  5. #5
    PowerPoster Lethal's Avatar
    Join Date
    Oct 2000
    Location
    Ohio
    Posts
    2,496

    Talking

    I could never figure this out, How do you make an image with the pressed look??

  6. #6
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390

    try this...

    can you draw it with the raised look?

    Try reversing the highlight.

    try this to "look" at it....

    in the Task Bar look at one of the buttons.
    Then put your mouse on it and click and hold the button down.

    the highlight is reversed.
    Up: Left & top have a light gray/ white edge
    Bottom & right have a dark gray / black edge

    Down: Left & top have the Dark edge now
    Bottom & right have the light edge

    The rest of the image is exactly the same

    Good luck!

    if you need a decent drawing program...get Paint shop pro http://www.jasc.com (i think) its not bad. You get it for 30 days for free. ( i prefer Corel myself)

    JPnyc rocks!! (Just ask him!)
    If u have your answer please go to the thread tools and click "Mark Thread Resolved"

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