On Feb 2, 2009, at 3:47 PM, Corbin Dunn wrote:
On Feb 2, 2009, at 11:48 AM, Mike Abdullah wrote:
Sadly I'm pretty certain there's no API to disable the button. But
you can fairly easily implement the -panel:isValidFilename:
delegate method and return NO to stop the user opening a folder.
On Feb 2, 2009, at 11:48 AM, Mike Abdullah wrote:
Sadly I'm pretty certain there's no API to disable the button. But
you can fairly easily implement the -panel:isValidFilename: delegate
method and return NO to stop the user opening a folder. Calling
NSBeep() at the same time wouldn't be am
Sadly I'm pretty certain there's no API to disable the button. But you
can fairly easily implement the -panel:isValidFilename: delegate
method and return NO to stop the user opening a folder. Calling
NSBeep() at the same time wouldn't be amiss I imagine.
Mike.
On 30 Jan 2009, at 01:18, Ron
Hello,
I'm trying to filter the contents of a standard NSOpenPanel dialog
such that only certain folders can be opened.
If I implement - (BOOL) panel:(id)sender shouldShowFilename:(NSString
*) fileName; such that it returns true for the folders that I want to
allow, and false for others,