Re: How to choose file without extension in NSOpenPanel
Re: How to choose file without extension in NSOpenPanel
- Subject: Re: How to choose file without extension in NSOpenPanel
- From: Joe Chan <email@hidden>
- Date: Sun, 20 Jan 2002 15:21:20 -0500
Do you know if this delegate method prevents the file from
displaying in the open panel, or display it as dimmed?
On Saturday, January 19, 2002, at 11:14 PM, cocoa-dev-
email@hidden wrote:
Message: 13
Date: Sat, 19 Jan 2002 22:32:29 -0500
Subject: Re: How to choose file without extension in NSOpenPanel
From: Jim Correia <email@hidden>
To: email@hidden
On Saturday, January 19, 2002, at 10:08 PM, Joe Chan wrote:
Personally, what I would like to have in NSOpenPanel is to have a
delegate method that let me decide what is selectable and what is not,
in addition to be able to pass in an NSArray.
NSOpenPanel is a subclass of NSSavePanel. NSSavePanel has a delegate
method for what you desire
<http://developer.apple.com/techpubs/macosx/Cocoa/Reference/ApplicationKit/
ObjC_classic/Classes/NSSavePanel.html#//apple_ref/occ/instm/NSSavePanel/panel:
shouldShowFilename:>
Jim