Results 1 to 7 of 7

Thread: no forecolor for command buttons?

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 1999
    Location
    Albany, NY, USA
    Posts
    15

    Question

    All the help files say that the ForeColor is a property of the Command Button but it is not on the property sheet for a command button and if I try to set it at run time I get an error saying it's not a method of that object. ???

    I've looked around on the MSDN site and I see no bugs saying there's a mistake...am I doing something wrong or is it really not a property of it? I've set the Style to 1 (graphical) and that doesn't help.

    any help?

    Thanks
    --Dan

  2. #2
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431
    The command button does not have a ForeColor property. I think it's just that Help is confusing in that it lists the ForeColor and BackColor properties together but both don't apply to all the same controls.

  3. #3
    Fanatic Member
    Join Date
    Aug 2000
    Posts
    617

    Use Sheridan Controls

    Go into Project then Components
    Select sheridan controls

    Then grab the SS command button

    And u can do most of these things

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

    <?>

    Just add a checkbox and set the textbox style property to 1 or graphical. You now have a command button in appearance with a forecolor property.

    I know, you said Command Button not CheckBox but once you do it you will see the magic in it.

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

    ___ Adolf Jensen

  5. #5
    Fanatic Member
    Join Date
    Aug 2000
    Posts
    617

    hmm

    U son of ...

    That's good, Joe... That's good!

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

    <?>

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

    ___ Adolf Jensen

  7. #7
    Guest
    Or use the Button shipped with Sheridan 3D Controls.

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