PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Overview
  • Managing Drag and Drop of files to an Upload control (HTML5)
  • Properties associated with an Upload control
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Overview
The Upload control is used to upload one or more files.
The Upload control can be handled by programming. To do so, use the name of the Upload control ("Send" or "Add" button).
The Uploadxxx functions of WLanguage can also be used to handle an Upload control. See the list of functions for upload management for more details.
Managing Drag and Drop of files to an Upload control (HTML5)
Versions 17 and later
The browsers that support HTML5 (like Firefox and Chrome) allow you to Drag and Drop the files to the Upload control.
The "GUI" tab in the Upload control description window ("Send" or "Add" button) is used to manage this feature.
For an Upload control used to upload several files proposed by default, the control on which Drag and Drop can be performed corresponds by default to the cell of Upload control.
New in version 17
The browsers that support HTML5 (like Firefox and Chrome) allow you to Drag and Drop the files to the Upload control.
The "GUI" tab in the Upload control description window ("Send" or "Add" button) is used to manage this feature.
For an Upload control used to upload several files proposed by default, the control on which Drag and Drop can be performed corresponds by default to the cell of Upload control.
The browsers that support HTML5 (like Firefox and Chrome) allow you to Drag and Drop the files to the Upload control.
The "GUI" tab in the Upload control description window ("Send" or "Add" button) is used to manage this feature.
For an Upload control used to upload several files proposed by default, the control on which Drag and Drop can be performed corresponds by default to the cell of Upload control.
Properties associated with an Upload control
Several WLanguage properties are available for the Upload control. The main properties are as follows:
MultiselectionUsed to find out and modify the mode for selecting files in an Upload control.
Versions 15 and later
NameBrowserFile
New in version 15
NameBrowserFile
NameBrowserFile
Allows you to find out the initial name of the file to upload found on the computer of the Web user. This property is available for the multi-file Upload controls.
Versions 15 and later
NameServerFile
New in version 15
NameServerFile
NameServerFile
Allows you to find out the name of the uploaded file found on the server. This property is available for the multi-file Upload controls.
OccurrenceAllows you to find out the number of files found in an Upload control.
Versions 15 and later
TypeFiles
New in version 15
TypeFiles
TypeFiles
Allows you to find out and modify the filter on the files proposed in the file picker of the Upload control.
ValueAllows you to find out and modify the list of files found in the Upload control.

To find out the entire list of properties that can be used on the Upload control, see List of properties available for the Upload control.
Minimum version required
  • Version 15
Comments
Click [Add] to post a comment