TcxCustomDataSource.GetValue(TcxDataRecordHandle,TcxDataItemHandle) Method
Returns a value in a specific record/column.
Declaration
function GetValue(ARecordHandle: TcxDataRecordHandle; AItemHandle: TcxDataItemHandle): Variant; virtual;
Parameters
Name | Type |
---|---|
ARecordHandle | TcxDataRecordHandle |
AItemHandle | TcxDataItemHandle |
Returns
Type |
---|
Variant |
Remarks
The GetValue function returns a value in a specific record/column. The ARecordHandle parameter identifies the record handle (a unique identifier of a record) in the current data source. The AItemHandle parameter determines the item handle (a value that uniquely identifies the column and thus the field from which to return the text to display). See the TcxCustomDataSource class to obtain detailed information on record and item handles.
Before calling GetValue, the GetRecordHandleByIndex and GetItemHandle methods are invoked. They return the record handle and the item handle respectively to be passed as arguments to the GetValue method.
See Also