B4J Question File Picker

kohle

Active Member
Licensed User
Longtime User
Is there something like a file picker in B4J.

When I click a button I want to select directory and filename like you do in windows.


rg
J.
 

DonManfred

Expert
Licensed User
Longtime User
When I click a button I want to select directory and filename like you do in windows.
Use the FileChooser

B4X:
    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)
 
Upvote 0
Top