trichview.support
Re: page setup and actions |
Author |
Message |
Sergey Tkachenko |
Posted: 12/02/2004 0:34:17 Create RVPrint component and assign it to RVAControlPanel.RVPrint property (at designtime, in the Object Inspector). RVPrint is required because it stores information about margins. It's required for programs using RichViewActions - RVAControlPanel is not present in applications which do not use actions. All printing actions will use this RVPrint component. If it is not assigned, the most of printing actions create a temporal RVPrint and use it for printing. But the PageSetup action cannot do it - because it does not make sense to store margins in temporal RVPrint, it must be permanent. > > Sergey, > > I am using actions with TRichViewEdit but Page Setup is not enabled. I noticed > that in a prior post you said to connect an RVPrint component to the RVAControlPanel. > I assume this would be the solution if you were not using actions. > > Can you provide me the code necessary to build this into the RichViewActions > unit so that I can activate the PageSetup action? I noticed in the code that > the InitRVPrint method is called by PrintPreview.ExecuteTarget but not by > PageSetup.ExecuteTarget. > > Thanks |
Powered by ABC Amber Outlook Express Converter