Enabling the "Paste" menu item
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.