FMX.Menus.TMenuItem.ActionChange

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure ActionChange(Sender: TBasicAction; CheckDefaults: Boolean); override;

C++

virtual void __fastcall ActionChange(System::Classes::TBasicAction* Sender, bool CheckDefaults);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
FMX.Menus.pas
FMX.Menus.hpp
FMX.Menus TMenuItem

Description

Specifies the behavior of a TMenuItem menu item when Action changes.

ActionChange calls the inherited TTextControl.ActionChange method and then, depending on the CheckDefaults value, ActionChange uses properties of the Sender action to set new values to the IsChecked and GroupName properties of TMenuItem.

Do not call ActionChange explicitly in an application. It is for internal use.

See Also