Article Preview
Buy Now
COLUMN
Explore Your Files
Working with files and directories
Issue: 24.4 (July/August 2026)
Author: Stefanie Juchmes-Simonis
Author Bio: Stefanie studied computer science at the university in Bonn. She came into contact with Xojo due to the work of her brother-in-law and got a junior developer position in early 2019 at Monkeybread Software.
Article Description: No description available.
Article Length (in bytes): 14,932
Starting Page Number: 58
Article Number: 24409
Resource File(s):
project 24409.zip Updated: 2026-07-01 15:25:57
Related Web Link(s):
ewriter>http
Excerpt of article text...
In this Spotlight, I'd like to show you four small solutions to everyday problems related to folders and files, where the MBS Xojo plugins can be very helpful.
Our App
In the application where I'd like to introduce these four handy everyday tools, there are two
labelswhere we enter the path of the directory we're opening and one for the size of the directory (see Figure 1). Just below them is a ListDialog that will later be filled with the individual filenames and paths contained in the selected directory.Next to the
listboxarelabelswhere we will enter information about the file currently selected in thelistbox. In the upper-right corner, we have twocheckboxes. Onecheckboxspecifies whether we want to list our files recursively in thelistbox—that is, whether we want to go into the subfolders and read the files from them as well.The "Only visible"
checkboxspecifies whether only visible files should be listed, or also hidden files.Finally, there is a button that displays the "Open" dialog, which we use to select the folder. When opening the dialog, the
SelectFolderDialoghelps us by allowing us to select only the appropriate folder directly. After the dialog returns the folder as aFolderItem, we store it in the window'sdirectoryproperty. We check whether theFolderItemis notnilso that we can exclude the possibility that the user canceled the dialog.
...End of Excerpt. Please purchase the magazine to read the full article.










