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

TWinControl.CanTab

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

Declaration

Source position: controls.pp line 2177

protected function TWinControl.CanTab: Boolean; override;

Function result

True if the control is eligible to receive input focus.

Description

CanTab is an overridden method in TWinControl. The return value is True if the control is eligible to receive input focus. It must have a parent form and be both visible and enabled.

Set TabStop to indicate the control is omitted in the tab order for the parent form.

See also

TWinControl.CanFocus

  

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

TWinControl.SelectNext

  

Transfers the focus to the next child control.

TWinControl.Focused

  

Checks whether the control has focus.

TControl.CanTab

  

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


Version 3.2 Generated 2024-02-25 Home