Occurs before resizing selected component.
property OnCanResize: TComponentEvent;
Write an OnCanResize event handler to provide custom action. You may forbid resizing this component.
The Sender parameter is the object whose event handler is called.
The Component parameter is the component that is being resized
The Accept parameter determines whether a component is allowed to resize.