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

TWinControl.TabStop

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

Declaration

Source position: controls.pp line 2352

public property TWinControl.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

TWinControl.TabOrder

  

Indicates the navigation order for the control when the user presses the Tab or Shift+Tab key.

TWinControl.FindNextControl

  

Returns the preceding or next control in the tab order.

TWinControl.CanTab

  

Indicates whether the Tab key can be used for keyboard navigation in the control.

TWinControl.CanFocus

  

Is this control allowed to receive the focus when parent form is visible?

TControl.IsControlVisible

  

True if the control is Visible, or is in design mode.

TControl.Visible

  

Allows the control, and all of its children, to be displayed or hidden.

TControl.Enabled

  

Determines whether the control responds to mouse or keyboard input.


Version 3.2 Generated 2024-02-25 Home