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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Is it just for the selected text?
How to convert it to the everyline in TRichEdit?
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
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 :-)
ASKER
Great!!! Thanks for the answer!!!
.And what type is DblSpace is suppose to be??? Integer?? //just an example