trichview.com

trichview.support




setting the left margin


Return to index


Author

Message

Allen

Posted: 03/16/2003 21:24:48


Hi,

I want to set the LEFT margin of a certain paragraph from say 5 to 15. What

is the best way to achieve this?


I want this because, I want a certain paragrahs group ( say lines 5 to 8/

or paragraphs 5 to 8) to have a margin of 15 and the one following it will

be back to normal at 5.


Besides, it seems that when I use the followings:

procedure TForm1.BitBtn1Click(Sender: TObject);

begin

rve.LeftMargin:= 15;  rve.InsertText('doo');

end;


procedure TForm1.BitBtn2Click(Sender: TObject);

begin

rve.leftmargin := 5;// The blinking cursor is lost from screen and I have

to use the mouse click to get back the cursor. How can I position the cursor

automatically after changing the margin?

end;






Powered by ABC Amber Outlook Express Converter