I derived from TRichViewEdit, and I'd like to set another defaultsize for the defaultfont and margins.
So what i did is:
Code: Select all
//inside the constructor of my class
inherited
Style := TRVSTyle.Create(Self)
Style.TextSTyles[0].Size := 8;
LeftMargin := X;
RightMargin := X;
BottomMargin := X;
TopMargin := X;
Use any number smaller than 5 for X, you can not toggle VScrollVisible in a Document which has less than 2 lines.
So i must have done something wrong at this point.