RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBaseDataSetAdapterField.ImplGetDisplayWidth Method

Provides the underlying implementation for the GetDisplayWidth method.

Pascal
function ImplGetDisplayWidth: Integer; override;
C++
virtual __fastcall int ImplGetDisplayWidth();

GetDisplayWidth calls ImplGetDisplayWidth to obtain the width (number of characters) to use for an HTML control that displays the value of this adapter field (in server-side script, the value of the DisplayWidth property). 

ImplGetDisplayWidth calls FindField to access the associated field component and returns the value of its DisplayWidth property. If FindField returns nil (Delphi) or NULL (C++), ImplGetDisplayWidth returns –1, indicating that the default display width is undetermined. 

 

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