On my Mac, the following line allows the user to choose only files with a .ZBR suffix:
From my understanding of the docs on FileNameAsk, this is the expected behavior; choosing other file types is disallowed by the file chooser.
However, on the PC, the dialog that comes up as a result of that line allows me to choose other file types. (.ZTL files at least). If I do choose a non-ZBR file, then the program crashes and shuts down.
Is there a way to enforce these types of restrictions on the PC? Or do I need to check the file name within my own code, to make sure the appropriate type has been chosen?
Thanks,
Ken