Fired when a file is selected |
Member of Web File Picker (PRIM_WEB.FilePicker)
Name | Type | Data Type | Description |
|---|---|---|---|
File | *Input | Reference to the selected file object | |
Files | *Input | Collection of the selected files |
The FileSelected event is fired when the user chooses a file from the File Picker.
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