Posted on 1998-08-05
I am having a problem with setting tabstops in Richedit.
The code is:::
procedure TForm1.SetTabs(Sender: TObject);
with Richedit1.Paragraph do
Tab := 100;
Tab := 200;
Tab := 300;
No matter how many tabs I set, it always leaves off the last one.
This code produces 2 tabstops. After that, they are all default
If I set 5 tabstops, there are only 4 in the Richedit.
And yes, If I set one, none show up.
They are in the right place just missing one.
The window is created and visible when this code is performed.
Thanks for the help,, Jim