|
|
|
|
|
- Support for .TypeFiles according to the browser
TypeFiles (Property) In french: TypeFichiers
The TypeFiles property is used to get and change the filter available in the file picker of the Upload control. UPL_Upload1.TypeFiles = "Text file (*.txt)" + TAB + "*.txt" + CR + "All" + TAB + "*.*"
Syntax
Finding out the filter of files proposed by the Upload control Hide the details
<Result> = <Upload control>.TypeFiles
<Result>: Character string Description of types of files that can be selected. This description has the following format:
<Types Files>+TAB+<List Extensions>[+CR+ ... <Types Files 2>+TAB+<List Extensions 2>] Where: <Types Files>: character string describing the type of file ("BMP (*.BMP;*.RLE)" for example). <List Extensions>: extensions corresponding to the described type ("*.BMP;*.RLE" for example).
For example: "BMP (*.BMP;*.RLE)" + TAB + "*.BMP;*.RLE" + CR + "Icon (*.ICO)" + TAB + "*.ICO" + CR + "Other" + TAB + "*.GIF;*.TIF;*.JPG"Remark: All types of files will be proposed if this parameter corresponds to an empty string (""). <Upload control>: Control name Name of Upload control used.
Modifying the filter of files proposed by the Upload control Hide the details
<Upload control>.TypeFiles = <New Filter>
<Upload control>: Control name Name of Upload control used <New Filter>: Character string Description of types of files that can be selected. This description has the following format:
<Types Files>+TAB+<List Extensions>[+CR+ ... <Types Files 2>+TAB+<List Extensions 2>] Where: <Types Files>: character string describing the type of file ("BMP (*.BMP;*.RLE)" for example). <List Extensions>: extensions corresponding to the described type ("*.BMP;*.RLE" for example).
For example: "BMP (*.BMP;*.RLE)" + TAB + "*.BMP;*.RLE" + CR + "Icon (*.ICO)" + TAB + "*.ICO" + CR + "Other" + TAB + "*.GIF;*.TIF;*.JPG"Remark: All types of files will be proposed if this parameter corresponds to an empty string (""). Remarks Support for .TypeFiles according to the browser Some browsers keep their default filter. The list of extensions defined by the TypeFiles property is added to the list of extensions defined by the browser. This operating mode occurs with the Edge browser.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|