JVCL Help:TJvCustomTimeLine.OnItemMoving

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

Search in JVCL Help

 
Search in all projects
 

Summary

Occurs when the user tries to move an item.


Pascal

 TJvItemMovingEvent = procedure (Sender: TObject; Item: TJvTimeItem; var AllowMove: Boolean) ofobject;
propertyOnItemMoving: TJvItemMovingEvent;


Parameters

Parameters Description
AllowMove Indicates whether the move should be permitted.
Item The item that the user wants to move.
Sender The timeline view control in which an item is moving.


Description

Write an OnItemMoving event handler to conditionally prevent the user from moving items on the timeline view. Set AllowMove to False to disallow any movement of the item.


See Also

TJvCustomTimeLine.DragLine, TJvCustomTimeLine.OnItemMoved


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