"textOn"

Defines the text which is shown on the EWO in case it is switched on.

Synopsis

shape.textOff(string text);

Parameter

Parameter Description
text Text which is displayed.

Description

Defines the text which is shown on the EWO in case it is switched on.

Example

In the following example "ON" is defined as text for the EWO.

main()
{
  this.textOn("ON");
}
Abbildung 1. A Text is used for the Background of a Toggle Switch

Assignment

ToggleSwitch EWO