Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Answer: How do I disable ("grey out") buttons?

by Eradicatore (Monk)
on Jun 06, 2001 at 19:31 UTC ( #86269=categorized answer: print w/replies, xml ) Need Help??

Q&A > GUI Programming > How do I disable ("grey out") buttons? - Answer contributed by Eradicatore

Following up on the previous answer: To enable the button again, you simply do this:

$button->configure( -state => 'normal' );
Note: In my experience with Tk on Win32 and UNIX platforms, I've found that Win32 uses 'disable' while UNIX uses 'disabled'.

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2016-12-09 17:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (154 votes). Check out past polls.