Re: prepareSavePanel woes...
Re: prepareSavePanel woes...
- Subject: Re: prepareSavePanel woes...
- From: Wolfgang Ante <email@hidden>
- Date: Wed, 14 May 2003 01:14:34 +0200
- (BOOL)prepareSavePanel:(NSSavePanel*)savePanel
{
[savePanel setExtensionHidden:NO];
[savePanel setDirectory: [@"~/Sites"
stringByExpandingTildeInPath]];
[savePanel isExpanded:YES];
return YES;
}
Now, setDirectory works, but it seems NSSavePanel does not respond to
setExtensionHidden and isExpanded. Those are the instance methods in
the docs and I just can't figure it out.
At least for the first one, have you tried this:
[savePanel setCanSelectHiddenExtension:YES];
Just an idea...
Bye, Wolfgang :-)
_______________________________________________
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.