• 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
Enable Buttons
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Enable Buttons


  • Subject: Enable Buttons
  • From: "Gerriet M. Denkmann" <email@hidden>
  • Date: Fri, 1 Jul 2005 13:25:29 +0200

I have a document based app, which has a panel (a find panel) with a button (Find Next).

This button obviously should be enabled if and only if
[[ NSDocumentController sharedDocumentController] currentDocument] is non-nil.


My guess is I should use bindings to accomplish this.
Is this correct? If yes, how to do it? If no, what is the most elegant way to choose?


Kind regards,

Gerriet.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Enable Buttons
      • From: Sherm Pendley <email@hidden>
  • Prev by Date: strange NSOutlineView problem - update (i'm an idiot)
  • Next by Date: Floating panel visibility
  • Previous by thread: strange NSOutlineView problem - update (i'm an idiot)
  • Next by thread: Re: Enable Buttons
  • Index(es):
    • Date
    • Thread