Displays a file selector and loads the selected file from disk and displays it in the OrdoWebView2 browser
Syntax
Ret=
Object.FileSelect([MustNavigate As Boolean = Vrai],
[UseDefault As Boolean = Vrai], [DialogTitle As String], [FilterWithPipes As
String], [DefaultFolder As String], [FileNameDefault As String], [ExtDefault As
String]) As String
The FileSelect method syntax has these parts:
| Element | Description |
| Object | The object placeholder represents an OrdoWebView2 control |
| Ret | String. The path and name of the selected file or an empty string if user select the Cancel button |
| MustNavigate | Boolean, if TRUE, the control displays the selected file, otherwise only its path and name is returned |
| UseDefault | Boolean, if TRUE, the file selector title and file extension filters are those predefined by the control (main internet file types). DialogTitle and FilterWithPipes are ignored |
| DialogTitle | String, the file selector title |
| FilterWithPipes | String, the default file selector folder |
|
DefaultFolder |
String, the default folder of the file selector. |
| ExtDefault | String, the default extension of the file to select |
By setting MustNavigate to False and UseDefault to False, the Fileselect method behaves like a simple file selector