API:Vcl.ActnMenus.TActionMainMenuBar.AutoFocus
Delphi
property AutoFocus default True;
C++
__property AutoFocus = {default=1};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Vcl.ActnMenus.pas Vcl.ActnMenus.hpp |
Vcl.ActnMenus | TActionMainMenuBar |
Description
Specifies whether the action bar receives auto-focus.
Vcl.ActnMenus.TActionMainMenuBar.AutoFocus inherits from Vcl.ActnMenus.TCustomActionMenuBar.AutoFocus. All content below this line refers to Vcl.ActnMenus.TCustomActionMenuBar.AutoFocus.
Specifies whether the action bar receives auto-focus.
Use the AutoFocus property to determine whether the action bar receives auto-focus. AutoFocus is True if the action bar has auto-focus, and False otherwise. When a menu is created, it receives auto-focus by default.