RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDockCaptionDrawer.DrawDockCaption Method

Draws the caption on the control.

Pascal
procedure DrawDockCaption(const Canvas: TCanvas; CaptionRect: TRect; State: TParentFormState); virtual;
C++
virtual __fastcall DrawDockCaption(const TCanvas Canvas, TRect CaptionRect, TParentFormState State);

The following parameters are passed in the DrawDockCaption procedure.

Parameter 
Description 
Canvas  
The canvas object upon which to draw the caption.  
CaptionRect  
The defined rectangle in which the caption is to be drawn.  
State  
The current state of the parent form.  

 

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