Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Data binding configuration

Description:
The windows serves for the definition of the data binding of the variable to another value (variable, object, expression, etc.). Data binding then allows such binding when for example reading from the variable causes reading the value to which the variable is bound.

This window is called from the "Value" configurator in the Variable configuration window.

Configuration items:
Data binding typeDetermination of the value type to which the data binding is linked up:
Const Constant - The variable holds the value of the defined constant. If it goes about the text variable (of the String type), it is necessary to enter the text without quotation marks.
Expr Expression - The variable holds the value of the expression in the VBScript language syntax.
PP Property of Promotic object or its subobject - The variable is bound to an arbitrary property of the Promotic object or its subobject. The path to the Promotic object (or to subobject) and the name of its property is entered. The path has the same syntax as for the PmObject.Pm method, it can be relative or absolute and can contain implementation subobject link marked by the # character. The Property name can even be the compound expression, for example "Item(0).Value" for the PmData object. If the property is not stated, then the data binding is defined directly to the object (this can be performed only for the variable of the Object data type).
AP Global variable - The variable is bound to the variable value defined on the page PmRoot > Variables.
SP Property of object in Pm variable - The variable is bound to an arbitrary property of the Pm object.
OP Property of OLE object - The variable is bound to an arbitrary property of the OLE object.
Data binding usedDetermination when the data binding is used:
Ini On property start - Binding will be performed on the initialization of the variable (the initial value of the variable will be set).
<> On both property reading and writing - Execution of the combined binding On reading and On writing.
<< On property reading - Binding will be performed on reading the variable. The value will be read from the variable (property) by the specified binding.
>> On property writing - Binding will be performed on writing into the variable. The value that will be written into the variable, will also be written into the variable (property) by the specified binding.
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice