RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBaseDataSetAdapterField.OnGetDisplayText Event

Occurs when the adapter field needs to supply its formatted value as a string that can appear in HTML forms.

Pascal
property OnGetDisplayText: TDataSetAdapterFieldGetStringEvent;
C++
__property TDataSetAdapterFieldGetStringEvent OnGetDisplayText;

TBaseDataSetAdapterField generates this event when supplying the read-only text representation of the field's value. This allows the WebSnap application to dynamically supply the formatted value of the field. Server-side script can access the resulting string using the DisplayText property.

Note: If you do not supply an OnGetDisplayText event handler, TBaseDataSetAdapterField uses the field component's DisplayText property.
 

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