Vcl.ExtCtrls.TSplitterCanResizeEvent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TSplitterCanResizeEvent = procedure(Sender: TObject; var NewSize: Integer;
var Accept: Boolean) of object;
TSplitterCanResizeEvent = procedure(Sender: TObject; var NewSize: Integer;
var Accept: Boolean) of object;

C++

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

Properties

Type Visibility Source Unit Parent
type
typedef
public
Vcl.ExtCtrls.pas
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