How to use "objectRef" property in HMI PG2
Hello everyone,
In "Object ContextMenu Invoker" there is property called "ObjectRef".
Can anyone tell me how to use objectRef property.(In the manual it is just explained that :Object for which to present the context menu)
Please have a look at attached screen shot.
Voted best answer
Hi,
You can use LateBoundObjectRef function to invoke context menu.
Please find the attached screenshot.
Eg: LateBoundObjectRef("./Test", True)
"./Test" - represent object path(Object for which to present the context menu)
Regards,
Nandhini SK
Answers
HI,
It is mainly used for late binding functions.
If the object is not found within the given path, then it would throw NULL.For more details, check LateBoundObjectRef.
Add new comment