EControl Form Designer Pro
TzFormDesigner.OnCanMove Property

Occurs before moving selected component.

property OnCanMove: TComponentEvent;

Write an OnCanMove event handler to provide custom action. You may forbid moving this component. 


The Sender parameter is the object whose event handler is called. 

The Component parameter is the component that is being moved 

The Accept parameter determines whether a component is allowed to move.

Copyright (c) 2004 - 2011 EControl Ltd.. All rights reserved.
What do you think about this topic? Send feedback!