ui.Dialog.setActionHidden

Handling default action view visibility.

Syntax

setActionHidden(
   name STRING,
   hide INTEGER )
  1. name is the name of the action.
  2. hide is 1 to hide, 0 to show.

Usage

Use the setActionHidden() method to hide the default view (and context menu option) of an action.
ON ACTION hide CALL DIALOG.setActionHidden( "confirm", 1 )

The first parameter identifies the action object of the dialog

For more details about action names, see Identifying actions in dialog methods.