• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Stupid question: How to disable a control?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Stupid question: How to disable a control? (From: Martin Kautz <email@hidden>)

  • Prev by Date: Re: Question (about C+, ObjC, ObjC++ ; long)
  • Next by Date: Re: Stupid question: How to disable a control?
  • Previous by thread: Stupid question: How to disable a control?
  • Next by thread: Re: Stupid question: How to disable a control?
  • Index(es):
    • Date
    • Thread