"format"

Defines the format in which the text of the progress bar is shown.

Synopsis

setValue (string shape, "format", string textFormat);

getValue (string shape, "format", string &textFormat);

shape.format(string textFormat);

shape.format(string textFormat);

Parameters

Parameter Description
shape Name of the object
textFormat
  • %m - text shows the number of steps

  • %p - text shows the percentage

  • %v - text shows the current value

Description

Defines the format in which the text of the progress bar is shown.

Example

main()
{
  PROGRESS_BAR1.format("%p");
}

Assignment

Progress bar