Re: NSSavePanel delegate Methods called by NSOpenPanel

2009-07-10 Thread Daniel Demiss
Am 10.07.2009 um 18:32 schrieb Daniel Demiss: Or is there another way I haven't seen yet? Well it seems that I've found the answer to my question. "panel:isValidFilename:" is called exactly once (and not multiple times as I suspected when I wrote it) when the "open" button is clicked. So cha

Re: NSSavePanel delegate Methods called by NSOpenPanel

2009-07-10 Thread Daniel Demiss
Hi Steve! Am 10.07.2009 um 17:37 schrieb Steve Christensen: The documentation for the NSSavePanel class says that the - panel:userEnteredFilename:confirmed: message is "sent when the user confirms a filename choice by hitting OK or Return in the NSSavePanel." That is not an issue for a NSOp

Re: NSSavePanel delegate Methods called by NSOpenPanel

2009-07-10 Thread Steve Christensen
On Jul 9, 2009, at 6:40 AM, Daniel Demiss wrote: Hi all, I'm a little confused by the following situation: I have an NSPathControl (PopUp-Style) that should only allow certain paths to be selected. Therefore I have a controller-object that I set as the delegate of the NSPathControl and the NS

NSSavePanel delegate Methods called by NSOpenPanel

2009-07-09 Thread Daniel Demiss
Hi all, I'm a little confused by the following situation: I have an NSPathControl (PopUp-Style) that should only allow certain paths to be selected. Therefore I have a controller-object that I set as the delegate of the NSPathControl and the NSOpenPanel that will be presented if a user clicks o