Today, I would like to talk about the best way to append an ellipsis (. . .) to the caption on a command button or menu item in Business Central.
As you might know, on some pages, there is an ellipsis (. . .) after the caption of action. The ellipsis tells the user that other choices will appear if the command button or menu item are selected.
For example: On the Sales Order page, you can find “Post. . .“, “Post and New. . .“, “Post and Send. . .” actions.
On Item Card page, you can find “Apply Template. . .” and “Save as Template. . .” actions
If we need to add an action that contains an ellipsis, what should we do?
The most straightforward way is to add the ellipsis to the caption.
Yes, this will indeed show the ellipsis.
But you have to know that this is not the best way.
Let’s look at some standard code in Base Application.
page 42 “Sales Order”:
page 30 “Item Card”
In the standard, the ellipsis is not added directly after the caption, but the Ellipsis Property is added.
Yes, you can use Ellipsis Property to add append an ellipsis (. . .) to the caption.
Ellipsis Property: Sets a value that specifies whether an ellipsis (…) is appended to the caption on a command button or menu item. An ellipsis tells the user that other choices will appear if the command button or menu item are selected.
Applies to: Page Action
True if the ellipsis is appended; otherwise, false. The default value is false.
Hope this will help.
Thanks for reading.