SavePanel customisation
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.