• 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: Validation of toolbaritem based on certain action is encountered?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Validation of toolbaritem based on certain action is encountered?


  • Subject: Re: Validation of toolbaritem based on certain action is encountered?
  • From: Andrew Farmer <email@hidden>
  • Date: Tue, 2 Jun 2009 19:56:26 -0700

On 2 Jun 2009, at 19:48, archana udupa wrote:
I m havin a list of toolbar.I m working on application similar to
winmerge in windows,which shows difference between 2 files.When i
click toolbar item Previous difference ma cursor ll move to previous
difference.But after it reaches the first difference, i want to
disable that toolbar item. How can do that?can i use setEnabled
method? If so for wot i should  assign? whether for toolbar
itemidentifier or toolbar action?

http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Protocols/NSToolbarItemValidation_Protocol/Reference/Reference.html _______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Validation of toolbaritem based on certain action is encountered? (From: archana udupa <email@hidden>)

  • Prev by Date: Validation of toolbaritem based on certain action is encountered?
  • Next by Date: how can i color NSTextView by using RGB component value?
  • Previous by thread: Validation of toolbaritem based on certain action is encountered?
  • Next by thread: how can i color NSTextView by using RGB component value?
  • Index(es):
    • Date
    • Thread