RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
THeaderSection.AllowClick Property

Allows the section to respond to mouse clicks at runtime.

Pascal
property AllowClick: Boolean;
C++
__property Boolean AllowClick;

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!