RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMenu.DoChange Method

Generates an OnChange event.

Pascal
procedure DoChange(Source: TMenuItem; Rebuild: Boolean); virtual;
C++
virtual __fastcall DoChange(TMenuItem Source, Boolean Rebuild);

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!