rvActionsResource.rvActionPageSetup1

ScaleRichView support and discussion (TRichView add-on for WYSIWYG editing)
Post Reply
mjsmithsr
Posts: 5
Joined: Sat Apr 18, 2009 7:57 pm
Location: Fountain Hills, AZ USA
Contact:

rvActionsResource.rvActionPageSetup1

Post 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/
JonRobertson
Posts: 164
Joined: Tue Nov 08, 2011 5:11 pm

Re: rvActionsResource.rvActionPageSetup1

Post 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)."
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post 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).
Post Reply