• 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
Enabling the "Paste" menu item
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Enabling the "Paste" menu item


  • Subject: Enabling the "Paste" menu item
  • From: Andrew Merenbach <email@hidden>
  • Date: Wed, 22 Jan 2003 21:32:31 -0800

Is it inefficient to have the following line:

if (![pasteboard availableTypeFromArray:[NSArray arrayWithObject:MyPboardType]]) return;

--within a table view's validateMenuItem:, to ensure that the Paste menu item is only enabled when a certain type of data is on the pasteboard?

-- Andrew
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Table View Headers Programatically
  • Next by Date: localized strings from another bundle?
  • Previous by thread: Re: Table View Headers Programatically
  • Next by thread: localized strings from another bundle?
  • Index(es):
    • Date
    • Thread