Results 1 to 6 of 6

Thread: [Resolved] Disable CommandButton

  1. #1

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256

    [Resolved] Disable CommandButton

    I saw code once to change the ForeColor (Text Color) of a disable CommandButton. Anyone know how to do this?
    Last edited by The Hobo; Nov 3rd, 2002 at 04:03 PM.
    My evil laugh has a squeak in it.

    kristopherwilson.com

  2. #2
    Hyperactive Member
    Join Date
    Sep 2002
    Posts
    259
    There is no property to change the foreground, however, you can "trick" the user and make a checkbox with and change the style to graphical, then just add code so when you click, automatically "uncheck" it.... I'll get an example for you in a sec.
    SonicMailer Pro
    The best mailing list manager has just gotten better!
    Click here for a full list of features!

  3. #3
    Hyperactive Member
    Join Date
    Sep 2002
    Posts
    259
    Here is an example...
    Attached Files Attached Files
    SonicMailer Pro
    The best mailing list manager has just gotten better!
    Click here for a full list of features!

  4. #4
    Lively Member Cagez's Avatar
    Join Date
    Oct 2002
    Posts
    121

  5. #5

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    Originally posted by kandieman101
    Here is an example...
    Thanks, kandieman, but I need this to work on disabled buttons. A checkbox set to graphical, which is disabled, is still grayed out.

    Cagez: Thanks. I messed around with it, trimmed it down, and it works great.
    My evil laugh has a squeak in it.

    kristopherwilson.com

  6. #6
    Hyperactive Member
    Join Date
    Sep 2002
    Posts
    259
    Okay, well, at least you have a method of changing the color for whatever
    SonicMailer Pro
    The best mailing list manager has just gotten better!
    Click here for a full list of features!

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