Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    confirm dialog button title

    Hello,
    We are using SmartClient_80_Pro. I want to creat a confirm dialog with two buttons "Yes" and "No" with the following code:
    isc.confirm("Do you want to save the changes?",
    "ctConfirmSaveChanges(value?'Yes':'No', 'close')",
    {buttons : [Dialog.YES, Dialog.NO] }
    );

    But the button titles are still "OK" and "Cancel". How do I change the title to "Yes" and "No".

    Thanks.

    #2
    The correct property is "toolbarButtons" rather than just "buttons".

    Comment

    Working...
    X