Dialog.CancelButtonCaption doesn't change

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!!!)

MacOS 10.12.6, Xojo 2018r3

from the docs…

[quote]Supported only on Windows.

This property is ignored on macOS and Linux, since changing the caption is not supported on those operating systems.[/quote]

Thank you Roger.

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]