Sign in Join
FPDoc Onlineexperiment

TCustomMemo.WantTabs property

Member of TCustomMemopublicIn unit StdCtrls

Allows Tab characters to be entered into the text.

Declaration

pascal
property WantTabs: Boolean read FWantTabs write SetWantTabs default False;

Description

The Tab key is normally used to move the input focus to the next control, and does not add Tab characters to the text.

When WantTabs is True, the Tab key inserts a Tab character into the text, instead of moving the focus to then next control. Even if WantTabs is True, the Tab key can be used to navigate into the control. But it prevents use of Tab to exit the control.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.