RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBaseDataSetAdapterField.OnGetValue Event

Occurs when the adapter field needs to supply its value as a Variant.

Pascal
property OnGetValue: TDataSetAdapterFieldGetValueEvent;
C++
__property TDataSetAdapterFieldGetValueEvent OnGetValue;

TBaseDataSetAdapterField generates an OnGetValue event when the WebSnap application reads its Value property. This allows the adapter field to dynamically supply the value for the field. For example, you can use this event to decrypt values that are stored in the database in an encrypted form.

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

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