Re: File selector talk writeup



On Saturday, February 15, 2003, at 12:28  PM, Ettore Perazzoli wrote:

Right.  The OS X API is simpler; it just allows you specify a set of
allowed extensions, and the dialog will only show the files whose
extension belongs to the set.  There is no combo box that the user can
use to change the filter.

Just to clarify-

NSOpenPanel will grey out + make unselectable files that don't match the file type(s) specified, it won't actually hide them. The user can also enter the filename by hand, even if it's greyed out.

Both of these behaviors can be tweaked, though. I've never done it, but see the NSSavePanel API. The delegate section in particular.

-Dan




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]