Vcl.ExtCtrls.TSplitter.OnCanResize
Delphi
property OnCanResize: TCanResizeEvent read FOnCanResize write FOnCanResize;
C++
__property TSplitterCanResizeEvent OnCanResize = {read=FOnCanResize, write=FOnCanResize};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | Vcl.ExtCtrls.pas Vcl.ExtCtrls.hpp |
Vcl.ExtCtrls | TSplitter |
Description
Occurs when the user tries to move the splitter with the mouse.
Write an OnCanResize event handler to conditionally prevent the user from resizing neighboring components using the splitter.
OnCanResize is an event handler of type Vcl.ExtCtrls.TCanResizeEvent.