By 'does not respond' I was referring to the view not validating, I was not calling -validateVisibleColumns. Now, using -setAllowdFieTypes and calling -validateVisibleColumns the view is still not validated. I do not know if this is because my array of type is upper case or if case is irrelevant.

I did implement - (BOOL)panel:(id)sender shouldShowFilename:(NSString *)filename checking for directories an case of extensions and calling - validateVisibleColumns in my combox box of extensions action method. Works great.

-koko





On Aug 26, 2010, at 3:06 PM, Corbin Dunn wrote:


On Aug 26, 2010, at 10:41 AM, 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 do you mean "does not respond"?
Is it not drawing right? Try calling -validateVisibleColumns.

corbin


What I am trying to accomplish is a dynamic filter as we see in a Windows open file dialog.

Am I barking up the wrong or impossible tree here?


_______________________________________________

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/corbind%40apple.com

This email sent to corb...@apple.com



_______________________________________________

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