trichview.support
Re: Page Setup |
Author |
Message |
Sergey Tkachenko |
Posted: 05/07/2002 10:36:40 Windows has a standard dialog for page setup, including margins. For some reasons (unknown to me) this dialog is not implemented as a standard Delphi dialog. You can search for third party components. For example, Delphi Free Stuff Package by Brad Stowers has TdfsPageSetupDialog: http://www.torry.net/vcl/packs/interfacemiddle/dfs.zip When I tested it last time, it has a problem - exception on creation if no printer is installed. If this bug still exists, you can create it at run-time only if Printer.PrinterIndex<>-1. Or you can use Windows API :) > Hello, > I'm working with RichViewEdit, and I want to margin for document. > How can I customize margin of the page at runtime (similar to page setup in > MS Word)? > > Thanks > > > |
Powered by ABC Amber Outlook Express Converter