FROM : Richard Humiston
DATE : Wed Nov 24 15:07:52 2004
I would like to have an openPanel that has the following features /
behavior.
1 A browser at the top to select files, and a section below with a
"list", and add and delete buttons.
2 I want to be able to select a file in the browser, and click the add
button, which would add it to the list. The delete button would remove
the file from the list.
3 When the openPanel is dismissed it would return the list of files, in
an Array.
I am using Jaguar 10.2.8. I can't seem to find a way to achieve this
without writing my own panel. This would also require a customized
browser. This is the route I have chosen to go at present. So my
problem is the following:
I am trying to write code that will let an NSBrowser duplicate the
browser behavior that is observed in an openPanel or savePanel...ie
data is organized as in the finder. I have looked at the various code
samples out there including the simpleBrowser sample from Apple. None
of them filters or organizes the data to achieve the result that I am
looking for. Does anybody have any suggestions or strategy on how to
achieve the desired result? Or (hopefully) is there a way to do this
without having to write a custom panel and browser?
Any help would be appreciated.
Rich
DATE : Wed Nov 24 15:07:52 2004
I would like to have an openPanel that has the following features /
behavior.
1 A browser at the top to select files, and a section below with a
"list", and add and delete buttons.
2 I want to be able to select a file in the browser, and click the add
button, which would add it to the list. The delete button would remove
the file from the list.
3 When the openPanel is dismissed it would return the list of files, in
an Array.
I am using Jaguar 10.2.8. I can't seem to find a way to achieve this
without writing my own panel. This would also require a customized
browser. This is the route I have chosen to go at present. So my
problem is the following:
I am trying to write code that will let an NSBrowser duplicate the
browser behavior that is observed in an openPanel or savePanel...ie
data is organized as in the finder. I have looked at the various code
samples out there including the simpleBrowser sample from Apple. None
of them filters or organizes the data to achieve the result that I am
looking for. Does anybody have any suggestions or strategy on how to
achieve the desired result? Or (hopefully) is there a way to do this
without having to write a custom panel and browser?
Any help would be appreciated.
Rich
| Related mails | Author | Date |
|---|---|---|
| Richard Humiston | Nov 24, 15:07 | |
| j o a r | Nov 24, 15:48 | |
| M. Uli Kusterer | Nov 25, 22:15 |






Cocoa mail archive

