On Aug 26, 2010, at 10:41, k...@highrolls.net wrote:

> I have an accessory view in an NSOpenPanel which contains a NSComboBox. The 
> combo box is a list of file extensions.  When the user selects an entry the 
> action method calls --setAllowedFileTypes. All these mechanics work properly. 
>  The issue: The open panel does not respond to the new allowed file types.
> 
> What I am trying to accomplish is a dynamic filter as we see in a Windows 
> open file dialog.

You should probably post your code at this point, since several people (myself 
included) aren't sure exactly what you've done, or what you're expecting to 
happen.

However, I will point out that NSComboBox is a strange choice for a control to 
filter file types. As I keep having to say on this list, a NSComboBox is a kind 
of text field, not a kind of menu. While it doesn't seem impossible to use a 
combo box in this situation, it's going to take support code to behave like a 
menu choice. Perhaps that's where the problem lies.

You'll get better help on this list if you ask more technically accurate 
questions. Ambiguous language, like "does not respond" or "dynamic filter as we 
see in ... Windows", forces us to guess what you're expecting, so we can't 
respond helpfully.


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to