RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomAdapterBooleanField.ImplUpdateValue Method

Called to update the adapter field's value with a value entered by the end-user.

Pascal
procedure ImplUpdateValue(AActionRequest: IActionRequest; AFieldIndex: Integer); override;
C++
virtual __fastcall ImplUpdateValue(IActionRequest AActionRequest, int AFieldIndex);

The ImplUpdateValue procedure updates the value of this adapter field using the given action request. The AFieldIndex parameter is used to extract the value entered by the user from the action request. First, the access rights defined for this adapter field are validated against the rights of the end-user. If the end-user does not have rights to modify this field, an exception is raised. If the OnUpdateValue event handler is not nil (Delphi) or NULL (C++), it is called to update the adapter field's value. 

 

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