Page 1 of 1
rvActionsResource.rvActionPageSetup1
Posted: Wed May 02, 2012 2:58 pm
by mjsmithsr
When I execute rvActionsResource.rvActionPageSetup1 nothing happens. It is the only Actions dialog I have a problem with. Where can I find out more about rvActionsResource.rvActionPageSetup1/
Re: rvActionsResource.rvActionPageSetup1
Posted: Wed May 02, 2012 6:37 pm
by JonRobertson
mjsmithsr wrote:When I execute rvActionsResource.rvActionPageSetup1 nothing happens. It is the only Actions dialog I have a problem with.
Do you have a TRVAControlPanel component in your project?
mjsmithsr wrote:Where can I find out more about rvActionsResource.rvActionPageSetup1/
Do you have the RichViewActions help file? (RichViewActions.chm, available from
http://www.trichview.com/rvfiles/rvhelp.zip)
Per the help topic for TrvActionPageSetup:
"This action is enabled if TRVAControlPanel.RVPrint is assigned, and there is at least one printer is installed in the system (Printer.Printers.Count>0)."
Posted: Wed May 02, 2012 8:21 pm
by Sergey Tkachenko
Yes, this action requires TRVPrint assigned to the control panel property. BUT...
For ScaleRichView, the following actions must not be used: TrvActionPageSetup, TrvActionPrint, TrvActionQuickPrint, TrvActionPrintPreview.
Instead of them, there are TsrvActionPageSetup, TsrvActionPrint, TsrvActionQuickPrint, TsrvActionPreview.
There are special datamodules for ScaleRichView in demos (see ActionTestTabs demo): dmActionsSRV.pas using 16-color images, dmActionsSRVAlpha.pas using semitransparent images (for Delphi 2009 or newer).