<< Click to Display Table of Contents >>
Value |
This property is a Variant, which may assume any and every type of value displayed by an object. Usually this property contains a text, because it is automatically filled in when creating a new Text object. The IsSetPoint property is used to determine whether a Text object has the same behavior of a SetPoint, that is, allows editing this property. The next script contains an example of using this property.
Sub DrawString1_OnStartRunning()
' Reads a value from a Tag and displays its Text
Dim obj
Set obj = Application.GetObject("DataServer1.DemoTag1")
Value = "DemoTag1 value = " & obj.Value
End Sub