Switch rvActionOpen File load formats

General TRichView support forum. Please post your questions here
Post Reply
jgkoehn
Posts: 303
Joined: Thu Feb 20, 2020 9:32 pm

Switch rvActionOpen File load formats

Post by jgkoehn »

My users tend to prefer .rtf as their primary format instead of rvf. Is there a simple way without editing RichViewActions to change the order or at least default it to .rtf.
Sergey Tkachenko
Site Admin
Posts: 17555
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Switch rvActionOpen File load formats

Post by Sergey Tkachenko »

RichViewActions do not allow changing order of formats in the file saving dialog.
You can
1) Assign RTF as a default format for new documents - RVAControlPanel.DefaultFileFormat = ffeRTF
2) Make RTF the default format in TrvActionOpen. Assign rvActionOpen.LastFilterIndex = 2 (if RTF is the second format in this dialog)
jgkoehn
Posts: 303
Joined: Thu Feb 20, 2020 9:32 pm

Re: Switch rvActionOpen File load formats

Post by jgkoehn »

Thanks appreciate it
Post Reply