createEx2
[ Function ]
public static createEx2(
expression: string,
propertyName: string,
control: TcHmi.Controls.System.baseTcHmiControl
): void;
Creates a binding between a symbol and a control attribute using the attribute name.
Parameter
Name | Type | Description |
---|---|---|
expression | Symbol expression | |
propertyName | Name of the control property. | |
control | Reference to the control instance |
Return value
Type | Description |
---|---|
void | No return value |
Available from version 1.10 |
Sample - JavaScript
var myControl = TcHmi.Controls.get('TcHmiTextbox_1');
if(myControl){
TcHmi.Binding.createEx2('%i%MyInternalSymbol_1%/i%', 'Text', myControl);
}