Page 1 of 1

Customoze the file formats in the Save As dialog?

Posted: Fri Nov 16, 2012 2:32 pm
by PeterPanino
Hi!

When using TrvActionSaveAs to save the RVE document in one of several formats, how can I customize the file formats displayed in the Save As dialog's file formats combo box?

For example, in a specific situation I want to limit the choice of file formats presented to the user to RTF and TXT. How can I do this?

Posted: Fri Nov 16, 2012 2:39 pm
by Sergey Tkachenko
To exclude formats, you can use
TRVActionOpen.Filter
TrvActionSaveAs.Filter

Additionally, you can implement your own formats, see TRVAControlPanel.OnCustomFileOperation

Posted: Fri Nov 16, 2012 4:12 pm
by PeterPanino
Thank you, Sergey!