Vcl.ActnMenus.TCustomActionMenuBar.DoItemKeyed

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function DoItemKeyed(AnItem: TCustomActionControl): TActionClientItem; virtual;

C++

virtual Vcl::Actnman::TActionClientItem* __fastcall DoItemKeyed(Vcl::Actnman::TCustomActionControl* AnItem);

Properties

Type Visibility Source Unit Parent
function protected
Vcl.ActnMenus.pas
Vcl.ActnMenus.hpp
Vcl.ActnMenus TCustomActionMenuBar

Description

Returns the action of the item currently selected with the keyboard.

DoItemKeyed is internally used to return the action of the action band item currently selected with the keyboard.

AnItem is the currently selected item.

If AnItem has subitems, it displays the subitems' pop-ups, so that the first item is automatically selected.

See Also