Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

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

( #62716=categorized answer: print w/ replies, xml ) Need Help??

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

Assuming you are using Tk, not Win32::GUI, you would do it like this:

$button->configure( -state => 'disabled' );

Comment on Answer: How do I disable ("grey out") buttons?
Download Code
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 chanting in the Monastery: (12)
As of 2015-07-03 12:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (53 votes), past polls