Vcl.ComCtrls.THeaderSection.AllowClick
Delphi
property AllowClick: Boolean read FAllowClick write FAllowClick default True;
C++
__property bool AllowClick = {read=FAllowClick, write=FAllowClick, default=1};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | THeaderSection |
Description
Allows the section to respond to mouse clicks at runtime.
If AllowClick is set to true (the default), the header section can be clicked with the mouse at runtime. Header sections behave like buttons when clicked: They loose their raised borders and appear depressed on the form. To attach functionality to the clicking of header sections, write an event handler for the header control's OnSectionClick event.