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:

Code:
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:
Hi Erel,

Is the DirectoryChooser available yet??
 
Yes. Note that you can see it in the IDE:

SS-2014-01-24_12.27.08.png


Or here: http://www.b4x.com/b4j/documentation.html
 
Very Nice Erel,
Thanks for this:):):):):):)
 
Back
Top