Page 1 of 1

Ruler in Trichviewedit

Posted: Mon Nov 28, 2005 12:20 pm
by CoLT
where i can define a fixed size for the ruler ??

Posted: Mon Nov 28, 2005 1:34 pm
by Guest
I've add an public procedure to set the margins and page size

procedure TRVRuler.SetRVEMargins(ToPageSize,ToLeft,ToRight,ToTop,ToBottom:Extended);
begin
self.PageWidth := ToPageSize;
self.LeftMargin := ToLeft;
self.RightMargin := ToRight;
self.TopMargin := ToTop;
self.BottomMargin := ToBottom;
DoMarginChanged;
end;

Posted: Mon Nov 28, 2005 8:46 pm
by Sergey Tkachenko
Sorry, what do you mean by "fixed size"?