FROM : Robert Cerny
DATE : Mon Oct 07 23:23:01 2002
Oh no,
it didn't help. Is the code working for all others properly?
Robert
On Monday, Oct 7, 2002, at 22:00 Europe/Prague, Ryan Stevens wrote:
> Try:
> sheetDidEnd:returnCode:contextInfo:
>
> Instead of:
> openPanelDidEnd:returnCode:contextInfo:
>
>
> I'm not sure if that will make a difference but I'm remembering when I
> had some trouble with NSOpenPanel. I'm wondering if that was the
> problem...
>
> HTH!
>
> On Monday, October 7, 2002, at 10:24 AM, Robert Cerny wrote:
>
>> Hi,
>> I use the very basic implementation of NSOpenPanel:
>> NSOpenPanel *openPanel = [NSOpenPanel openPanel];
>>
>> [openPanel beginSheetForDirectory:NSHomeDirectory()
>> file:nil
>> types:[NSArray arrayWithObjects: @".pfb", nil]
>> modalForWindow:[self window]
>> modalDelegate:self
>>
>> didEndSelector:@selector(openPanelDidEnd:returnCode:contextInfo:)
>> contextInfo:NULL];
>> The problem - after displaying the sheet, it moves its selection to
>> NSHomeDirectory(). It looses some icons in the browser and on every
>> click response to console with:
>> *** -[NSCFArray objectAtIndex:]: index (3) beyond bounds (0)
>>
>> Anybody knows what's wrong?
>>
>> Thanks
>> Robert
>>
>> _______________________________________________
>> MacOSX-dev mailing list
>> <email_removed>
>> http://www.omnigroup.com/mailman/listinfo/macosx-dev
>>
DATE : Mon Oct 07 23:23:01 2002
Oh no,
it didn't help. Is the code working for all others properly?
Robert
On Monday, Oct 7, 2002, at 22:00 Europe/Prague, Ryan Stevens wrote:
> Try:
> sheetDidEnd:returnCode:contextInfo:
>
> Instead of:
> openPanelDidEnd:returnCode:contextInfo:
>
>
> I'm not sure if that will make a difference but I'm remembering when I
> had some trouble with NSOpenPanel. I'm wondering if that was the
> problem...
>
> HTH!
>
> On Monday, October 7, 2002, at 10:24 AM, Robert Cerny wrote:
>
>> Hi,
>> I use the very basic implementation of NSOpenPanel:
>> NSOpenPanel *openPanel = [NSOpenPanel openPanel];
>>
>> [openPanel beginSheetForDirectory:NSHomeDirectory()
>> file:nil
>> types:[NSArray arrayWithObjects: @".pfb", nil]
>> modalForWindow:[self window]
>> modalDelegate:self
>>
>> didEndSelector:@selector(openPanelDidEnd:returnCode:contextInfo:)
>> contextInfo:NULL];
>> The problem - after displaying the sheet, it moves its selection to
>> NSHomeDirectory(). It looses some icons in the browser and on every
>> click response to console with:
>> *** -[NSCFArray objectAtIndex:]: index (3) beyond bounds (0)
>>
>> Anybody knows what's wrong?
>>
>> Thanks
>> Robert
>>
>> _______________________________________________
>> MacOSX-dev mailing list
>> <email_removed>
>> http://www.omnigroup.com/mailman/listinfo/macosx-dev
>>
| Related mails | Author | Date |
|---|---|---|
| Robert Cerny | Oct 7, 10:25 | |
| Ryan Stevens | Oct 7, 13:01 | |
| Robert Cerny | Oct 7, 23:23 | |
| Dustin Sallings | Oct 8, 00:30 | |
| Robert Cerny | Oct 8, 01:43 |






Cocoa mail archive

