Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2016-09-25 17:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (470 votes). Check out past polls.