B4J Question [SOLVED]In B4J FileChooser needs to be able to select a directory - jkhazraji (first post)    Jun 02, 2024   (1 reaction) Dim fc As FileChooser
fc.Initialize
fc.Title = "Select a Directory (Open any file within the directory)"
Dim selectedFile As String
selectedFile = fc.ShowOpen(MainForm)
If selectedFile <> "" Then
Dim directoryPath As String
directoryPath = File.GetFileParent(s B4J Question FileChooser in PreferencesDialog.bas [SOLVED] - Erel (first post)    Mar 13, 2022   (2 reactions) Make sure to call SetEventsListener and use:
whatfile=fc.ShowOpen(B4XPages.GetNativeParent(mCallback)) B4J Question B4J OpenFile Dialog... - Daestrum (first post)    Jul 27, 2024   (1 reaction) Dim fchoose As FileChooser
fchoose.Initialize
fchoose.InitialDirectory = "."
fchoose.InitialFileName = "*.java"
Dim fname As String = fchoose.ShowOpen(MainForm)
If fname = "" then
'no file chosen
Else
'it contains selected file name and path.
End If B4J Question Using FileChooser in B4XPage (But Not MainPage) - Erel (first post)    Oct 06, 2020   (2 reactions) You should use B4XPages.GetNativeParent(Me) to get the form. B4J Question File Explorer in B4j - stevel05 (first post)    Sep 03, 2020   (3 reactions) Try FileChooser or DirectoryChooser for directories. Wish FileChooser - ShowOpen - InitialFileName - stevel05 (first post)    Jul 19, 2022 From Javafx doc FileChooser:
It appears that this is a platform level issue. B4J Question Filechooser from a list of files not a volume - Erel (first post)    Jun 28, 2019 You don't have any control over the files listed in FileChooser. You will need to implement your own dialog. Share My Creation B4Xlib file maker - jkhazraji    Sep 12, 2023   (8 reactions) Hi everybody,
May I present to you this utility which was entirely made with b4j. It is a b4xlib library maker.
It has a very simple job : archiving the required resource files into the b4xlib file which is, as stated by the creator,
a zip file. It is a standalone package made with JPackager tool of B4J Question File Picker - DonManfred (first post)    Oct 23, 2020   (2 reactions) Use the FileChooser
Dim FC As FileChooser
FC.Initialize
FC.InitialDirectory = "initialdir"
FC.Title = "Select the XML file"
FC.SetExtensionFilter("XML", Array As String("*.xml"))
Dim selected As String = FC.ShowOpen(MainForm) B4J Question Force FileChooser to one directory and it's sub-folders - Daestrum (first post)    Jul 04, 2019   (1 reaction) Just set the FileChooser InitialDirectory to the one you want
Dim fc As FileChooser
...
fc.Initialize
fc.InitialDirectory = "C:/temp"
... Page: 1   2   3   4   5   6   7   Powered by ColBERT |