RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBaseDataSetAdapterField.ImplGetDisplayLabel Method

Provides the underlying implementation for the GetDisplayLabel method.

Pascal
function ImplGetDisplayLabel: string; override;
C++
virtual __fastcall AnsiString ImplGetDisplayLabel();

GetDisplayLabel calls ImplGetDisplayLabel to obtain the label that can be used when generating HTML to display the value of this adapter field (in server-side script, the value of the DisplayLabel property). 

ImplGetDisplayLabel calls FindField to access the associated field component and returns the value of its DisplayLabel property. If FindField returns nil (Delphi) or NULL (C++), ImplGetDisplayLabel returns an empty string. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!