Vcl.ExtCtrls.TSplitterCanResizeEvent

From RAD Studio API Documentation
Jump to: navigation, search

C++

typedef void __fastcall (__closure *TSplitterCanResizeEvent)(System::TObject* Sender, int &NewSize, bool &Accept);

Properties

Type Visibility Source Unit Parent
typedef public Vcl.ExtCtrls.hpp Vcl.ExtCtrls Vcl.ExtCtrls

Description

TSplitterCanResizeEvent is the type of event handlers that indicate whether a splitter can resize its neighboring controls.

The NewSize parameter indicates the size the associated control will have if the splitter is allowed to perform the resize. This value can be changed if the attempted resize can be partially allowed.

The Accept parameter indicates whether the resize should be permitted at all. Set Accept to false to disallow any movement of the splitter.

TSplitterCanResizeEvent is the type of a splitter's Vcl.ExtCtrls.TSplitter.OnCanResize event handler.

TSplitterCanResizeEvent is an alias for TCanResizeEvent.

See Also