Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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

by Jouke (Curate)
on Mar 07, 2001 at 15:34 UTC ( #62716=categorized answer: print w/replies, xml ) Need Help??

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

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

$button->configure( -state => '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 meditating upon the Monastery: (4)
As of 2016-09-27 03:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (494 votes). Check out past polls.