` Adjust margins (Leonid Chudakov) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Icetips Article

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

Reports, Printing, Printers: Adjust margins
2005-03-30 -- Leonid Chudakov
 
Newsgroups: comp.lang.clarion,softvelocity.public.clarion6 > Is it possible to allow the end user to adjust the margins of the text in >an RTF control? For example, in MS-Word you have that ruler at the top >with slidable levers that allow you to specify the margins for a block of >text. See attached pic. To get margins try something like KS_RTFPage &RTFPage CODE KS_RTFPage &= RTFControl.Props.PageSettings() KS_RTFPage.GetSize(KS_PageWidth, KS_PageHeight, UNIT:Twips) KS_RTFPage.GetMargins(KS_LeftMargin, KS_TopMargin, | KS_RightMargin, KS_BottomMargin, | UNIT:Twips) -- Leonid Chudakov chudakov@klarisoft.com Cool tools and Clarion examples at http://www.klarisoft.com


Today is April 25, 2024, 11:38 am
This article has been viewed 35113 times.
Google search has resulted in 8 hits on this article since January 25, 2004.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: