I’m trying the Examples project in Files - FolderItem Dialogs, the code from SaveAsDialogButton say:
[code]// Custom cancel captions are available also
dialog.CancelButtonCaption = “NO!!!”
// And custom ok button captions
dialog.ActionButtonCaption = “Save It!”[/code]
I get Save It! for the action button but Cancel for the cancel button (expected NO!!!)
This was a curve ball for me, if both buttons didn’t change I could figure that is some os thing.
As I am still discovering Xojo, having examples that could behave different on mac, windows and linux (outside the Platform-Specific folder) is something not expected.
A little comment on the code will be great for people like me, something like:
[code]// Custom cancel captions are available also (Windows only)
dialog.CancelButtonCaption = “NO!!!”
// And custom ok button captions (works on macOS and Windows)
dialog.ActionButtonCaption = “Save It!”[/code]