• 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
SavePanel customisation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SavePanel customisation


  • Subject: SavePanel customisation
  • From: olivier <email@hidden>
  • Date: Mon, 24 Feb 2003 13:05:24 -0600

I want to insert a text field in my save panel. This i managed to do.
I also want to have a drop box that say that the user can save to other
format. This i manage to do.

What i do not manage to do is have both my text field and the drop box
show up consistently in the dialog.

I use - (BOOL)prepareSavePanel:(NSSavePanel *)savePanel from NSDocument
to do what i want. Here i check if the save panel already has an
accessoryView and if so i copy the subview and put them in my custom
view. Everything works fine the first time i bring up the dialog. But
the next time if i don't bring the dialog by the same menu item (Save,
Save as, or save a copy to) then the drop box with the file type does
not have the right item enabled.

So what is the right way of doing what i want?

Any pointers appreciated.
Olivier
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: SavePanel customisation
      • From: olivier <email@hidden>
  • Prev by Date: Re: OpenGL Support
  • Next by Date: Re: Enumerating Address Book properties
  • Previous by thread: Re: Getting filenames of NSImage(s)
  • Next by thread: Re: SavePanel customisation
  • Index(es):
    • Date
    • Thread