TrvActionNew Page Defaults

ScaleRichView support and discussion (TRichView add-on for WYSIWYG editing)
Post Reply
MarkElder
Posts: 21
Joined: Tue Aug 28, 2012 7:43 pm

TrvActionNew Page Defaults

Post by MarkElder »

Hello,

I am trying to figure our where page defaults get set when using the action TrvActionNew. I am starting with the ScaleRichView ActionTest project. I want the default page setting to be a letter size page with .5 inch margins for new documents. If I change the PageProperty properties on the ScaleRichView control my first document is set correct. However, if I choose File -> New (mapped to the TrvActionNew action), then things revert back to A4 and other settings.

Do I just need to change the setting back in code or are these defaults being read in from somewhere?

Thanks,

Mark
Sergey Tkachenko
Site Admin
Posts: 17283
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

RVAControlPanel1.DefaultDocParameters
MarkElder
Posts: 21
Joined: Tue Aug 28, 2012 7:43 pm

Post by MarkElder »

Great - just what I was looking for. I didn't originally see the separate help file for Actions - that answers a lot of my questions.
Post Reply