PRIM_MD.FilePicker - FileSelected Event

Fired when a file is selected

Member of PRIM_MD.FilePicker (PRIM_MD.FilePicker)

Parameters

Name

Type

Data Type

Description

File

*Input

PRIM_WEB.File

Reference to the selected file object

Files

*Input

PRIM_WEB.Files

Collection 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

  • No labels