[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'StdCtrls' (#lcl)

TCustomMemo.WantTabs

Allows to enter Tab characters into the text.

Declaration

Source position: stdctrls.pp line 894

public property TCustomMemo.WantTabs : Boolean
  read FWantTabs
  write SetWantTabs
  default False;

Description

The Tab key is normally used to move the focus to the next control, so that it cannot be used to add Tabs 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 user can Tab into the control, but not out again.

See also

TCustomMemo.WantReturns

  

Allows the user to insert Return characters (line breaks) into the text.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.