Setting tab stops in delphi

In this article let’s discuss about Setting tab stops in delphi. Let’s go through the following methods without any delay 🙂

Method 1:

!!! If {.paragraph} dos not work mak sure you are using a RICHEDIT and not a TMEMO !!!

//RichEdit1.Paragraph.TabCount := {Amont of tabs};
//RichEdit1.Paragraph.Tab[{Tab namber}] := {Stat of tab};

RichEdit1.Paragraph.TabCount := 4;

    RichEdit1.Paragraph.Tab[0] := 100;
    RichEdit1.Paragraph.Tab[1] := 200;
    RichEdit1.Paragraph.Tab[2] := 350;
    RichEdit1.Paragraph.Tab[3] := 400;

Hope the above methods works for you. Happy Learning and get back to us Anytime.

Realted Posts : How to get last element of array delphi