Wish FileChooser - Additional options *DONE

Jim Brown

Active Member
Licensed User
Longtime User
Hi Erel,

Wish1) .LastDirectory
FileChooser has .InitialDirectory to set/get the starting directory.
However, I would also need something like .LastDirectory which returns the directory navigated to when the user has choosen their file. Example:

B4X:
fc.Initialize
fc.Title="Choose image"
fc.InitialDirectory=lastimagefolder
fc.SetExtensionFilter("Image",Array As String("*.jpg","*jpeg","*.png","*.bmp"))
Dim thisFile As String
thisFile=fc.ShowOpen(MainForm)
lastimagefolder=fc.LastDirectory

Wish2) FolderChooser
Basically a folder version of FileChooser, so that we can choose a folder location rather than files.
 
Last edited:

Swissmade

Well-Known Member
Licensed User
Longtime User
Hi Erel,

Is the DirectoryChooser available yet??
 

Swissmade

Well-Known Member
Licensed User
Longtime User
Very Nice Erel,
Thanks for this
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…