ui.Dialog.setActionComment

Set the comment/hint of a default action view.

Syntax

setActionComment(
   name STRING,
   comment STRING )
  1. name is the name of the action, see Identifying actions in dialog methods.
  2. comment is the comment to be set.

Usage

Use the setActionComment() method to define the comment/hint for the default view of an action.
CALL DIALOG.setActionComment( "confirm", "Confirm current order" )

The first parameter identifies the action object of the dialog.

This method will only affect the rendering of implicit action views such as default action views, context menu action views and rowbound action views: The explicit action views (such as buttons in the form layout) will not get the new attribute value. Note that the comment attribute will not be rendered on context menu and rowbound action views.