RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBaseDataSetAdapterField.ImplGetRequired Method

Provides the underlying implementation for the GetRequired method.

Pascal
function ImplGetRequired: Boolean; override;
C++
virtual __fastcall Boolean ImplGetRequired();

GetRequired calls ImplGetRequired to determine whether the end-user must supply a value for this field before submitting a form (in server-side script, the value of the Required property). 

ImplGetRequired calls FindField to access the associated field component and returns the value of its Required property. If FindField returns nil (Delphi) or NULL (C++), ImplGetRequired returns false. 

 

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