JVCL Help:TJvMenuChangeLink.OnChange

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

This event is triggered whenever a change occurred in the menu.


Pascal

 TOnJvMenuChange = procedure (Sender: TJvMainMenu; Source: TMenuItem; Rebuild: Boolean) ofobject;
propertyOnChange: TOnJvMenuChange;


Parameters

Parameters Description
Rebuild True if the menu needs rebuilding
Source The item that is the source of the change
Sender The menu that has changed


Description

Unfortunately, the rebuild parameter cannot be trusted because it is always False, even when adding or removing elements in the menu. You then must devise your own method to discover a suitable value for Rebuild


See Also

TJvMainMenu.RegisterChanges


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page