Re: Windows and Camelbones

2004-08-20 Thread Alan Olsen
On Aug 20, 2004, at 3:00 PM, Sherm Pendley wrote: On Aug 20, 2004, at 5:30 PM, Alan Olsen wrote: On Aug 20, 2004, at 1:34 PM, Sherm Pendley wrote: my $row = NSApplication->sharedApplication()->runModalForWindow($self- >myPanel()); How do you set the datasource for tableview. I usually call it r

Re: Windows and Camelbones

2004-08-20 Thread Rick Frankel
This is probably for Sherm- I am trying to open a non-modal NSOpenPanel. As a simple test, I modified the CamelBones FileViewer: $openPanel->beginForDirectory_file_types_modelessDelegate_didEndSelector_contextInfo( $self->{'_openPath'}, '', $fileTypes, $self, 'openPanelDidEnd

Re: Windows and Camelbones

2004-08-20 Thread Sherm Pendley
On Aug 20, 2004, at 5:30 PM, Alan Olsen wrote: On Aug 20, 2004, at 1:34 PM, Sherm Pendley wrote: my $row = NSApplication->sharedApplication()->runModalForWindow($self- >myPanel()); How do you set the datasource for tableview. I usually call it right after displaying the window. I am not cert

Re: Windows and Camelbones

2004-08-20 Thread Alan Olsen
On Aug 20, 2004, at 1:34 PM, Sherm Pendley wrote: On Aug 20, 2004, at 3:31 PM, Alan Olsen wrote: I am opening it as a modal dialog box. What I am trying to do is get it to act like "OpenPanel" or the alert dialog. Those return to the calling process when they are done and not before. That *is

Re: Windows and Camelbones

2004-08-20 Thread Sherm Pendley
On Aug 20, 2004, at 3:31 PM, Alan Olsen wrote: I am opening it as a modal dialog box. What I am trying to do is get it to act like "OpenPanel" or the alert dialog. Those return to the calling process when they are done and not before. That *is* how a modal session acts. For example, let's ass

Re: Windows and Camelbones

2004-08-20 Thread Alan Olsen
On Aug 19, 2004, at 10:21 PM, Sherm Pendley wrote: On Aug 19, 2004, at 3:21 PM, Alan Olsen wrote: This is probably a modal v.s. non-modal issue. I want to find out the right way to do it... I have a window that I display that has a table view. The user needs to select a row off the table. The

Re: Windows and Camelbones

2004-08-19 Thread Sherm Pendley
On Aug 19, 2004, at 3:21 PM, Alan Olsen wrote: This is probably a modal v.s. non-modal issue. I want to find out the right way to do it... I have a window that I display that has a table view. The user needs to select a row off the table. The problem is that the window is displayed and then t

Re: Windows and Camelbones

2004-08-19 Thread Alan Olsen
On Aug 19, 2004, at 12:21 PM, Alan Olsen wrote: This is probably a modal v.s. non-modal issue. I want to find out the right way to do it... I have a window that I display that has a table view. The user needs to select a row off the table. The problem is that the window is displayed and then

Windows and Camelbones

2004-08-19 Thread Alan Olsen
This is probably a modal v.s. non-modal issue. I want to find out the right way to do it... I have a window that I display that has a table view. The user needs to select a row off the table. The problem is that the window is displayed and then the program just keeps on going and does not wa