Hi all,
I'm working on a project in Factorytalk View Studio SE, 8.10.00.
I want to use tooltip which will display information about a tag's description whenever the user mouse's-over that device. Of cause, I can copy the description to the tooltip of objects one by one. But there are too many.
I am thinking use the VBA, like:
Sub test()
Dim tagTest As Tag
Set tagTest = CTag(NumericDisplay1.Expression)
NumericDisplay1.ToolTipText = tagTest.GetPropertyValue(tagPropIdDescription)
End Sub
Oviously, I can not convert the Expression(as String) to the Tag object.
Any tips? Ideas?
I'm working on a project in Factorytalk View Studio SE, 8.10.00.
I want to use tooltip which will display information about a tag's description whenever the user mouse's-over that device. Of cause, I can copy the description to the tooltip of objects one by one. But there are too many.
I am thinking use the VBA, like:
Sub test()
Dim tagTest As Tag
Set tagTest = CTag(NumericDisplay1.Expression)
NumericDisplay1.ToolTipText = tagTest.GetPropertyValue(tagPropIdDescription)
End Sub
Oviously, I can not convert the Expression(as String) to the Tag object.
Any tips? Ideas?
Last edited: