JavaScript

{dialog.object}progressBarSetMessage Method

Syntax

progressBarSetMessage(id, message)

Arguments

idstring

The name of a placeholder control where the progress bar is shown.

messagestring

A message to display to the right of the progress bar.

Description

Updates the message in a progress bar.

Discussion

The progressBarSetMessage() method updates the message shown in a progress bar. The message appears to the right of the progress bar.

You must first call {dialog.object}.progressBarShow() to create and display the progress bar.

Example

// Updating a progress bar in a Placeholder control
var id = 'PLACEHOLDER_1';
var msg = "Progress Message updated...";

{dialog.object}.progressBarSetMessage(id,msg);