K kohle Active Member Licensed User Longtime User Oct 23, 2020 #1 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.
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 Oct 23, 2020 #2 kohle said: When I click a button I want to select directory and filename like you do in windows. Click to expand... 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
kohle said: When I click a button I want to select directory and filename like you do in windows. Click to expand... 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)
cklester Well-Known Member Licensed User Oct 24, 2020 #3 File picker search in the forum. There's a lot of info available herein, but FileChooser is probably best. Like @DonManfred said... Upvote 0
File picker search in the forum. There's a lot of info available herein, but FileChooser is probably best. Like @DonManfred said...