kryslt / KControls

Free components for Delphi and Lazarus, this is the main repository maintained by the original author.
BSD 3-Clause Clear License
58 stars 32 forks source link

KMemo: adding the string ")" after the paragraph letter #61

Closed kryslt closed 2 months ago

kryslt commented 2 months ago

Discussed in https://github.com/kryslt/KControls/discussions/60

Originally posted by **radekjindra** July 25, 2024 Hello, I would like to ask for advice. I need to add the line ")" after the paragraph letter. a) b) c) I have for now TB:=Protokol_ZKP.Blocks.AddTextBlock('Non-metallic materials for line conductors are preferred over metallic ones with insulating contacts.'); TB.TextStyle.Font.Name:='Times New Roman'; TB.TextStyle.Font.Color:=clRed; TB.TextStyle.Font.Style:=[fsBold]; TB.TextStyle.Font.Size:=10; PA:=Protokol_ZKP.Blocks.AddParagraph; PA.ParaStyle.NumberingListLevel := 0; PA.Numbering := pnuLetterLo; PA.ParaStyle.HAlign:=halJustify; PA.NumberingListLevel.FirstIndent:=10; PA.NumberingListLevel.LeftIndent :=30; PA.ParaStyle.NumberStartAt := 1;
radekjindra commented 2 months ago

Thank you for your advice