Button Visibility

You may want a button to appear/disappear in Runtime. You can make the button either visible or invisible in Designer, and change this in Runtime using Workflows. This could, for example, be used to stop a user from clicking the button, and making it available again.

Setting the Visibility on the Properties Grid

  1. In Designer, navigate to the Map or Display Layout containing the button.
  2. Select the button.
  3. In the Properties, check the Visible checkbox to make it visible, or uncheck it to make it invisible.

Change Visibility for a Single Button Using Workflows

To change the Visibility property of a button, you will first require an Action block in your Workflow. Drag and drop one into the work area if required.

  1. Double-click the Action block to open the Action Browser.
  2. Navigate to the Map or Display Layout containing the button, then select the button.
  3. In the Commands pane, select Set Visibility.
  4. Choose True to make the button visible, or False to make it invisible. Click OK.
  5. Click OK again to set the command on the Action block.

Change Visibility for Multiple Buttons Using Workflows

To change the Visibility property of buttons, you will first require an Action block in your Workflow. Drag and drop one into the work area if required.

  1. Double-click the Action block to open the Action Browser.
  2. In the Objects pane, select Display Layout.
  3. In the Commands pane, select Set Buttons Visibility.
  4. In the Expression pane, select Visible
  5. Select True to make the buttons visible, or False to make them invisible.
  6. In the Expression pane, select Buttons to choose which buttons this applies to.
    1. For each button, select it then click the > button, or click >> to select all buttons.
    2. Click OK.
  7. Click OK again to set the command on the Action block.