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!