RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAdapterImageField.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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!