• 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: Enabling/Disabling Buttons
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Enabling/Disabling Buttons


  • Subject: Re: Enabling/Disabling Buttons
  • From: Raphael Sebbe <email@hidden>
  • Date: Tue, 14 Aug 2001 10:43:25 +0200

[myButton setEnabled:YES/NO];

It is defined in NSControl class, of which NSButton is a subclass.

Raphael

On Tuesday, August 14, 2001, at 07:05 AM, Farl wrote:

Cannot seem to find the code to this anywhere. And certainly not in the
docs.

I need to disable a button until a certain set of events has occured.
Then it should be enabled until it is used, and then disabled again. In
refering to enable/disable, i mean where you can still see the button,
but it is greyed out, so you cannot press it.

What is the command call?
Does it need an outlet/action to be created especially for this?

Any help is appreciated


References: 
 >Enabling/Disabling Buttons (From: email@hidden (Farl))

  • Prev by Date: Re: Downloading html page
  • Next by Date: Re: Is encapsulation deprecated in ObjC?
  • Previous by thread: Re: Enabling/Disabling Buttons
  • Next by thread: Problems with NSInvocation - arguments misplaced? [long]
  • Index(es):
    • Date
    • Thread