Errors in documentation for ShowSaveFileDialog?

@ FolderItem.ShowSaveFileDialog, there is a snipped who leads into errors:

image

FileTypeGroup1. Extends to:

No .Text nor .Text.Extensions

But FileTypeGroup1.All compiles.

Desktop Xojo 2025r2.1 / Tahoe

The File Type referred to by ShowSaveFileDialog declares the common file type “text/plain”, which you will first want to add to your project using the File Type Group Editor.

2 Likes

Those short code snippets, in many places, are not designed to use “as is”.
In this case, as Sascha (and the documentation says), you need to add the file type to your project before the code can work.

2 Likes