Login
`
Templates, Tools and Utilities
|
||
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 November 21, 2024, 3:45 am This article has been viewed 35348 times. Google search has resulted in 8 hits on this article since January 25, 2004.
|
|