Re: Stupid question: How to disable a control?
Re: Stupid question: How to disable a control?
- Subject: Re: Stupid question: How to disable a control?
- From: email@hidden
- Date: Mon, 3 Dec 2001 11:22:06 +0100
Le lundi 3 dicembre 2001, ` 11:09 , Martin Kautz a icrit :
I know, that's a way stupid question, however: How to disable (gray out) a
control e.g a button?
Regards,
Martin
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
[myControl setEnabled:NO];
Have a look to the NSControl class definition:
file://localhost/Developer/Documentation/Cocoa/Reference/ApplicationKit/ObjC_classic/
Classes/NSControl.html
Yours,
Thomas Lachand-Robert
********************** email@hidden
<< Et le chemin est long du projet ` la chose. >> Molihre, Tartuffe.