RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomHeaderControl.OnDrawSection Event

Draw header section.

Pascal
property OnDrawSection: TCustomDrawSectionEvent;
C++
__property TCustomDrawSectionEvent OnDrawSection;

Use the OnDrawSection to define custom section drawing code. The event handler takes the following parameters. 

Section is the header section that is being redrawn. 

Rect is the display rectangle for the header section. 

Pressed is true if the section is being displayed as a button, and that button is currently in its depressed state. 

 

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