Sign in Join
FPDoc Onlineexperiment

TWinControl.TabStop property

Member of TWinControlpublicIn unit Controls

Allows the user to navigate to / from the control by pressing the Tab or Shift+Tab keys.

Declaration

pascal
property TabStop: Boolean read FTabStop write SetTabStop default False;

Description

TabStop is a TabStop property which indicates if the control can be focused when using the Tab or Shift+Tab keys to navigate between controls on a form. The default value for the property is False. At design-time, the Lazarus IDE sets the value to True in newly created control instances.

When set to True, the windows style flags are updated to include the value WS_TABSTOP in the CreateParams method.

Changing the value for the property causes the internal tab order list to be updated, and a CM_TABSTOPCHANGED control message is performed for the control.

TabStop is used in methods like FindNextControl, and may be updated in methods like Insert.

See also

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.