RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomAdapterImageField.OnValidateFile Event

Used to validate files uploaded by the end user.

Pascal
property OnValidateFile: TAdapterFieldFileEvent;
C++
__property TAdapterFieldFileEvent OnValidateFile;

Validates the file uploaded by the end-user. Raise an exception to indicate an error. For example, it raises an exception if the Mime type of the file is not supported. 

 

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