Unit
Declaration
const ctrlItalic = #1;
ctrlBold = #2
ctrlHighlight = #3;
ctrlAltFont = #4;
ctrlUnderline = #21;
Description
The control codes above are the characters found in the text of the TPlusMemo or TDBPlusMemo that controls selective text attributes in a static manner. They act as toggles for a given attribute for the text following them. Normally you don't have to embed yourself such control code attributes; you use instead methods SetAltFont, SetBold, SetHighlight, SetItalic and SetUnderline.
Those control codes are also inserted in the text when the user presses Ctrl-I, Ctrl-B, Ctrl-H, Ctrl-F or Ctrl-U keys combination, resulting in the corresponding attribute being given to the selected text, unless property EnableHotKeys is False.