• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
custom openPanel an browser
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

custom openPanel an browser


  • Subject: custom openPanel an browser
  • From: Richard Humiston <email@hidden>
  • Date: Wed, 24 Nov 2004 09:07:52 -0500

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
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: custom openPanel an browser
      • From: "M. Uli Kusterer" <email@hidden>
    • Re: custom openPanel an browser
      • From: j o a r <email@hidden>
  • Prev by Date: Re: help on 'help books'
  • Next by Date: Re: custom openPanel an browser
  • Previous by thread: NSXMLParser and DTD-file
  • Next by thread: Re: custom openPanel an browser
  • Index(es):
    • Date
    • Thread