Web File Picker - FileSelected Event

Fired when a file is selected

Member of Web File Picker (PRIM_WEB.FilePicker)

Parameters

NameTypeData TypeDescription
File*InputPRIM_WEB.FileReference to the selected file object
Files*InputPRIM_WEB.FilesCollection of the selected files

Details

The FileSelected event is fired when the user chooses a file from the File Picker.

Example

In this example, when a file is selected, the file is returned in the File parameter and used to populate an image control as well as a Blob field.
Evtroutine Handling(#FilePicker.FileSelected) File(#File)
 
   #Filename := #File.Name
   #Image.FileName #xDemoblob := #File.Blob
 
Endroutine

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2