Vcl.Menus.TMenu.DoChange

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DoChange(Source: TMenuItem; Rebuild: Boolean); virtual;

C++

virtual void __fastcall DoChange(TMenuItem* Source, bool Rebuild);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.Menus.pas
Vcl.Menus.hpp
Vcl.Menus TMenu

Description

Generates an OnChange event.

DoChange is called automatically when the properties of any menu items change. The Source parameter specifies the menu item (if any) that changed. The Rebuild parameter indicates whether the change requires the menu to regenerate its items.

See Also