TRichEdit: Different bullets according to how much the paragraph is indented?

177 Views Asked by At

In a 32-bit VCL Application in Windows 10 in Delphi 11 Alexandria, I use the new TRichEdit control. I have the following code to INDENT the current paragraph:

procedure TformMain.menuitemIndentDecreaseClick(Sender: TObject);
begin
  richeditNotesEditor.Paragraph.FirstIndent := richeditNotesEditor.Paragraph.FirstIndent - 10;
  menuitemIndentDecrease.Enabled := richeditNotesEditor.Paragraph.FirstIndent > 9;
end;

procedure TformMain.menuitemIndentIncreaseClick(Sender: TObject);
begin
  richeditNotesEditor.Paragraph.FirstIndent := richeditNotesEditor.Paragraph.FirstIndent + 10;
  menuitemIndentDecrease.Enabled := True;
end;

It works well:

enter image description here

However, each indented paragraph uses the same bullet. How can I automatically have different bullets according to how much the paragraph is indented?

0

There are 0 best solutions below