Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease add your comments to this article.
Please note that you must provide both a name and a valid email address in order
for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!
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 December 3, 2024, 11:14 am This article has been viewed 35359 times. Google search has resulted in 8 hits on this article since January 25, 2004.
|
|