Results 1 to 6 of 6

Thread: Colored Text

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2000
    Posts
    1

    Smile

    Can the Caption on a Command Button be shown in colour..?...If so, how is it done....Thanks

  2. #2
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    <?>

    No..not on the regular button but you can get around it
    by using a checkbox and setting it's style to graphical or 1. This turns it into a command button with forecolor properties.

    Let's say command button looking.

    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

  3. #3
    Guest
    Use the Button shipped with Sheridan 3D Controls. It has the ability to change the Forecolor.

  4. #4
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845
    with a checkbox you need to uncheck it to stop the "button" sticking down!

    Code:
    Private Sub Check1_Click()
    Check1.Value = Unchecked
    
    'rest of code in here
    
    
    End Sub
    Mark
    -------------------

  5. #5
    Addicted Member
    Join Date
    Feb 2000
    Location
    CWMBRAN,WALES,UK
    Posts
    146

    Thumbs up

    Just thought I,d pass this on.

    vbthunder has a good module for changing the text colour of a CommandButton. I've tried it out and it works fine.

    Go to http://www.vbthunder.com/source/button/ExtButton.htm

    GRAHAM

  6. #6
    Fanatic Member
    Join Date
    Oct 1999
    Location
    MA, USA
    Posts
    523
    It would be easier to just use Megatron's suggestion or add Microsoft Forms 2.0 Object Library. Similarly to Sheridan controls it has a command button with forecolor property

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