StateSymbol
Reflects the pressed state of the button for the assigned symbol and vice versa.
If the button is pressed, the symbol is set to true.
If the button is released, the symbol is set to false.
If the symbol is set to true independent of the button, the button is pressed.
If the symbol is set to false independent of the button, the button is released.
During an active user interaction, no value changes of the symbol are transferred to the button.
Schema (version 1.10): tchmi:framework#/definitions/TcHmiButtonStateSymbol
Schema (version 1.12): tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiButton.StateSymbol
Attribute getter
public getStateSymbol(): TcHmi.Symbol | null | undefined;Parameter
Name | Type | Description |
|---|---|---|
- | - | - |
Return value
Type | Description |
|---|---|
The current value of the attribute. |
Attribute setter
public setStateSymbol(valueNew: TcHmi.Symbol | null): void;Parameter
Name | Type | Description |
|---|---|---|
valueNew | The new value of the attribute. If null is passed, the internal default value is used. |
Return value
Type | Description |
|---|---|
void | No return value. |
![]() | Available from version 1.10 |
