WebFileUploader.Filter

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As String )
aWebFileUploader.Filter = newStringValue
or
StringValue = aWebFileUploader.Filter

New in 2018r1

Supported for all project types and targets.

The MIME type of files that an be chosen for upload.

Notes

Separate multiple MIME types with a semicolon.

Example

This code in the Shown event handler for the WebFileUploader lets you choose PNG and JPG files:

Me.Filter = "image/png;image/jpeg"