RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDSTableProducer.DoGetCaption Method

Generates an OnGetCaption event.

Pascal
procedure DoGetCaption(var TableCaption: string; var CaptionAlign: THTMLCaptionAlignment); dynamic;
C++
__fastcall DoGetCaption(AnsiString TableCaption, THTMLCaptionAlignment CaptionAlign);

Applications can't call this protected method. It is called internally by the Content method to let the OnGetTableCaption event handler change the Caption and CaptionAlignment properties when the table caption is rendered as HTML.  

Descendants of TDSTableProducer can override DoCreateCaption to make additional changes when the caption is rendered or to block the OnCreateCaption event. 

 

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