Notifications
Announcements
Hi all,
I will use my custom class to get file name via dialog Field.I want to change ok button name to Import.
How to achieve this.
Thanks.
*This post is locked for comments
Hi Edselv Evert,
Please check this blog post microsoftdax.blogspot.co.nz/.../modify-label-of-runbase-ok-button.html
That this is how dialogs look like and you surely don't want to change all dialogs in AX, therefore consider if it's reasonable changing your single dialog.
I would leave the button as it is and change the caption ("My Dialog") and the field label ("FileName") to something explaining what will happen when the dialog is confirmed (by pressing OK). You can also change the HelpText (currently "File path and name").
If you insist on the change, please tell us how you create the dialog.
Hi ievgen,
This is ok for dialog scenario.
Now i want to rename the Box::ok button to 'Continue'.
Please suggest.
The method is called ok() because is shows OK button. If it did something else, the name would be misleading.
You can build your own method creating a dialog with Continue, if you insist.
Hi Martin,
I can't get your point.
Is this possible to rename box 'ok' button to 'continue'.
Not "rename", but you can create your own dialog with "Import" and "Cancel" or something like that, but don't try to put it into the Box class, because it's not something general-purpose like OK/Cancel and Yes/No.
But seriously, I think you're wasting time with something you shouldn't be trying to change in the first place. Respect how AX works and what user will get at all other places.
This can easily be done. timsaxgrind.blogspot.com/.../renaming-dialogs-ok-button.html
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
Thanks to all of our 2025 Community Spotlight stars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Volodya 2
tgudwanski 1