Thank you Graham, it worked!
I now have all the main menu items working.
Thank you,
Bruce
On Feb 21, 2011, at 3:05 PM, Graham Cox wrote:
>
> On 22/02/2011, at 1:28 AM, Bruce Cresanta wrote:
>
>> I have two NSDocuments in my project: MyDocument patterned after the
>> template, and An
On 22/02/2011, at 1:28 AM, Bruce Cresanta wrote:
> I have two NSDocuments in my project: MyDocument patterned after the
> template, and AnalyzerDocument. Analyzer document is ordered second in the
> target list of documents, so it is not the default document.All the menu
> items fo
Sherm,
I checked this and the class is AnalyzerDocument, just the way it
should be.
Bruce
On Feb 21, 2011, at 12:35 PM, Sherm Pendley wrote:
> On Mon, Feb 21, 2011 at 2:12 PM, Bruce Cresanta wrote:
>> Hello Volker,
>>
>> I have the following two methods implemented in AnalyzerDocumen
On Mon, Feb 21, 2011 at 2:12 PM, Bruce Cresanta wrote:
> Hello Volker,
>
> I have the following two methods implemented in AnalyzerDocument, but I still
> get greyed menu items.
>
> - (NSData *)dataOfType:(NSString *)typeName error:(NSError **)outError
>
> - (BOOL)readFromData:(NSData *)data ofTy
Hello Volker,
I have the following two methods implemented in AnalyzerDocument, but I still
get greyed menu items.
- (NSData *)dataOfType:(NSString *)typeName error:(NSError **)outError
- (BOOL)readFromData:(NSData *)data ofType:(NSString *)typeName error:(NSError
**)outError
Do I need to imp
Hi,
these all rely on the ResponderChain - so, if one of your ANalyzerDocuments is
front-most, it must implement these methods to enable the menu commands. If
your analyzer document is always coupled with a "normal" document, you may
relay the calls to that.
volker
Am 21.02.2011 um 15:28 schr
Hello,
I have two NSDocuments in my project: MyDocument patterned after the
template, and AnalyzerDocument. Analyzer document is ordered second in the
target list of documents, so it is not the default document.All the menu
items for save, save as, print, and page setup are grayed