removeEx2

[ Function ]

public static removeEx2(
   expression: string | null, // obsolete
   propertyName: string,
   control: TcHmi.Controls.System.baseTcHmiControl
): void;

Removes a binding between a symbol and a control attribute.

Parameter

Name

Type

Description

expression

null, string

This parameter is no longer required

propertyName

string

Name of the control property.

control

TcHmi.Controls.System.baseTcHmiControl

Reference to the control instance

Return value

Type

Description

void

No return value

removeEx2 1:

Available from version 1.10

Sample - JavaScript

var myControl = TcHmi.Controls.get('TcHmiTextBox_1');
if(myControl){
    TcHmi.Binding.removeEx2(null, 'Text', myControl);
}