### Select File

To select a file use the FileChooser subroutine from the jFX library.
Note:
The FileChooser will start from the previously choosen folder (unless override by InitializeDirectory).
Example Sub returning file selected
`Sub selectFile As String
Dim fc As FileChooser
Dim fileSelected As String ' File selected. If selected full path is returned else ""
fc.Initialize
fc.InitialDirectory = File.DirApp
fc.Title = "Select a File"
fileSelected = fc.ShowOpen(MainForm)
Log("File selected: " & fileSelected)
Return fileSelected
End Sub`

Changed: 2018-05-06 19:21, Category: Files, File: T6C193M1395.htm, ID: 1395