re-order filters in Save As... ? (RVActions or SRV Demo???)
Posted: Wed Jan 23, 2008 3:19 am
Its so hard to know what parts of this are based on the Actions Demo and what parts are more generic (like from RVActions)
I want to have a button on the toolbar that can be clicked and do a Save As... for the custom file type I've added.
How can I re-order the items in the Filter for that button? Or even in general? What shows up is mostly useless in my case. I don't want to disable the defaults, but they're certainly unimportant. The important one is the CUSTOM one, and it's stuck at the bottom of the list.
Usually you'd simply edit the SaveDialog's Filter property. But it seems to be getting generated dynamically, just going down the list of options in the Filter property for the Save As Action handler. THOSE things cannot be reordered, as they're just true/false properties in a list. And Custom is at the end.
Everything is so obscure here, and I can't see any way to just override parts of things, or extend anything. If you DO override something by inserting an explicit link in an event handler, you lose the ability to access any of the default behaviors as far as I can tell.
Is this accurate? Or am I missing something?
-David
I want to have a button on the toolbar that can be clicked and do a Save As... for the custom file type I've added.
How can I re-order the items in the Filter for that button? Or even in general? What shows up is mostly useless in my case. I don't want to disable the defaults, but they're certainly unimportant. The important one is the CUSTOM one, and it's stuck at the bottom of the list.
Usually you'd simply edit the SaveDialog's Filter property. But it seems to be getting generated dynamically, just going down the list of options in the Filter property for the Save As Action handler. THOSE things cannot be reordered, as they're just true/false properties in a list. And Custom is at the end.
Everything is so obscure here, and I can't see any way to just override parts of things, or extend anything. If you DO override something by inserting an explicit link in an event handler, you lose the ability to access any of the default behaviors as far as I can tell.
Is this accurate? Or am I missing something?
-David