Link to home
Start Free TrialLog in
Avatar of stinger_60284
stinger_60284

asked on

About Line Spacing in TRichEdit

Is it possible to change line spacing in TRichEdit, from 1.0
  to 1.5 or 2.0?
  If it is possible, then would you give me the example (in
  source code) of how to do it?
  I use Delphi 3, so please keep the source code work in Delphi 3.

Thanks anyway for the help and attention ^_^

Stinger
ASKER CERTIFIED SOLUTION
Avatar of BoRiS
BoRiS

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hello BoRiS :->

.And what type is DblSpace is suppose to be??? Integer?? //just an example
Avatar of stinger_60284
stinger_60284

ASKER

Is it just for the selected text?
How to convert it to the everyline in TRichEdit?
stinger_60284

RichEdit1.SelectAll; //will select all the lines and text then call the procedure I gave you

viktornet

Sorry :-)

that should be

var
 DblSpace: TCharFormat;
begin
..

Later
BoRiS
10x :-)
Great!!! Thanks for the answer!!!