Nov 3rd, 2002, 03:10 PM
#1
Thread Starter
Stuck in the 80s
[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 .
Nov 3rd, 2002, 03:15 PM
#2
Hyperactive Member
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.
Nov 3rd, 2002, 03:18 PM
#3
Hyperactive Member
Attached Files
Nov 3rd, 2002, 03:21 PM
#4
Lively Member
Nov 3rd, 2002, 03:28 PM
#5
Thread Starter
Stuck in the 80s
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.
Nov 3rd, 2002, 03:49 PM
#6
Hyperactive Member
Okay, well, at least you have a method of changing the color for whatever
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Click Here to Expand Forum to Full Width