Link to home
Start Free TrialLog in
Avatar of Smilly
Smilly

asked on

Ordered Bulletlines in Richedit

Hello there, do you know a smart way, to make
ordered bulletlines in richedit??
Like:
1. test1
2. test2
3. test3
Avatar of rwilson032697
rwilson032697

Use the paragraph property (Numbering within that) to create bullets in a richedit.

Cheers,

Raymond.
Avatar of Smilly

ASKER

Helle Rwilson,
Yep, but it doesn't make ordered list, it will make a list like:

  test
  test
  test

and what I need is:

1.  test
2.  test
3.  test

for x:=1 to memo1.lines.count do
        memo2.lines.add(memo1.lines[x]);
memo1.lines.clear;
for x:=1 to memo2.lines.count do
        memo.lines.add(x +'. '+ memo2.lines[x])
// it can be that you have to use x-1 and stuff.. (not sure)

sk
eum.. I think richedit works the same way as memo..

ASKER CERTIFIED SOLUTION
Avatar of Oli2
Oli2

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
Avatar of Smilly

ASKER

Thanks,
Okey, there's not a easy way, to this Question,
you have to take care of it yourself. Okey I'll
do that....
Sorry skatan187, but your answer was only a
comment, so I couldn't give you any point...