JVCL Help:TJvCustomCsvDataSet.OnGetFieldData

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Event fired when field data is going to be provided to a data aware control.


Pascal

 TJvCsvOnGetFieldData = procedure (Sender: TObject; UserTag: Integer; UserData: Pointer; FieldName: string; var Value: string) ofobject;
propertyOnGetFieldData: TJvCsvOnGetFieldData;


Parameters

Parameters Description
FieldName The field name we are being asked for?
Value var parameter - This is where you put the actual value (encoded as a CSV string) to be provided to the data aware control.
UserData The record's data (pointer) property. Perhaps this is the custom object that contains the actual data?
Sender Description for this parameter
UserTag The record's tag (integer) property


Description

An OnGetFieldData event written by the end user allows the end user to create a Virtual DataSet where the data in the CSV rows is really just a cache which can be updated when displayed but which we really are fetching from somewhere else.


See Also

TJvCustomCsvDataSet.OnSetFieldData, TJvCustomCsvDataSet.GetUserTag, TJvCustomCsvDataSet.SetUserTag, TJvCustomCsvDataSet.GetUserData, TJvCustomCsvDataSet.SetUserData


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page