Instruments-Panel: Getting Ordinal of Enum from Value-Edit in VbsMacro
Posted: Thu 23. May 2024, 17:51
Hello Marvin!
Hope you are doing well!
Is ther a way i can get the Index of a selected value in a Value Edit that is connected to a signal with an ENUM?
Thanks
Hope you are doing well!
Is ther a way i can get the Index of a selected value in a Value Edit that is connected to a signal with an ENUM?
Code: Select all
Dim panel, temp
Set panel = Documents("HMI-Internal_CAN.ipf").ActiveWindow.Object
Set temp = panel.Scenes(1).Controls("ve1")
'''''''''' here i want to read the index of the selected choice of the Value Edit