Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

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?

What's my password?
Create A New User
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2016-10-26 05:52 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (336 votes). Check out past polls.