Button Fill Color

The Fill Color property on buttons can be configured in Designer, then changed later in Runtime using Workflows. This can be used to visually communicate information to the Runtime user. For example, after completing an action we may want to avoid doing it again. The Fill Color could be changed to let the user know it cannot be used at that time.

Setting the Fill Color 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 grid, open the color picker for the Fill Color and select the color to be used.

Change Fill Color for a Single Button Using Workflows

To change the Fill Color 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 Fill Color to open the color picker.
  4. Choose the color to be used, then click OK.
  5. Click OK again to set the command on the Action block.

Change the Fill Color for Multiple Buttons Using Workflows

To change the Fill Color 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. In the Objects pane, select Display Layout.
  3. In the Commands pane, select Set Buttons Fill Color.
  4. In the Expression pane, select Color to open the color picker.
    1. Select the color to be used.
    2. Click OK.
  5. 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.
  6. Click OK again to set the command on the Action block.