SclRVRuler - Margins
Posted: Wed Aug 08, 2012 8:09 pm
Hello!
I have the code below in my project:
The code should change the left and right margins of my SclRVRuler1. The problem is: this code only changes the left margin.
But, if I try to change the right margin before left, like this:
Only changes the right margin.
Any help?
Thanks!
I have the code below in my project:
Code: Select all
SclRVRuler1.LeftMargin := DBSRichViewEdit2.PageProperty.LeftMargin;
SclRVRuler1.RightMargin := DBSRichViewEdit2.PageProperty.RightMargin;
But, if I try to change the right margin before left, like this:
Code: Select all
SclRVRuler1.RightMargin := DBSRichViewEdit2.PageProperty.RightMargin;
SclRVRuler1.LeftMargin := DBSRichViewEdit2.PageProperty.LeftMargin;
Any help?
Thanks!