JVCL Help:TJvCustomItemViewer.OnItemChanging

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

Search in JVCL Help

 
Search in all projects
 

Summary

Called when an item is about to change.


Pascal

 TJvViewerItemChangingEvent = procedure (Sender: TObject; Item: TJvViewerItem; var Allow: Boolean) ofobject;
propertyOnItemChanging: TJvViewerItemChangingEvent;


Parameters

Parameters Description
Allow Set to false to disallow the change. Default value is true.
Item The item that is about to change.
Sender The object that triggered the event.


Description

Write an event handler for the OnItemChanging event to take specific action when an item in the Items array is about to change. For example, you might want to prohibit changes to items under certain circumstances.
To disallow an item to change, set the Allow parameter to false. By default, Allow is true.


See Also

TJvCustomItemViewer.OnItemChanged


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