Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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?
[LanX]: Happy 1e2th Birthday , Issur Danielowitsch Demsky! :)

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2016-12-09 18:03 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.