RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBaseDataSetAdapterField.CheckValueChange Method

Indicates whether the current value of this field is the same as the original value.

Pascal
function CheckValueChange(AActionRequest: IActionRequest; AFieldIndex: Integer): Boolean;
C++
__fastcall Boolean CheckValueChange(IActionRequest AActionRequest, int AFieldIndex);

CheckValueChange indicates whether the value of this adapter field has changed from its previous value. 

AActionRequest is the interface of the action request object. CheckOrigValue can use this interface to obtain information about the current request (such as the value of the hidden field that contains the original value). 

AFieldIndex is the index of this field in the set of field values that AActionRequest maintains. 

CheckValueChange returns true if the value has changed, false if it is the same as the original value. 

CheckValueChange calls the ImplCheckValueChange method, which performs the actual checking. 

 

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