Virtual Terminal Input List choice #627
-
|
I have been playing around with the virtual terminal example code and have been using ISO-Designer (5.7.1) to setup a small UI. Now I have created a small InputList component with a few string choices. I can see the InputList box in both the AgIsoStack Virtual Terminal server and on a John Deere G5 terminal. But I cannot figure out how to setup a call back function in my C++ code that gets told what choice the operator does in the Input LIst component. I have tried to add a event handler like this:
And have some code to see if it gets called: But I never see any output from the function. Even though I make choices in the InputList on the UI. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Hello there! When the operator selects something in an input list what's actually happening is that they are changing the number variable associated to that input list! So the function you want is actually The "VT Select Input Object Event" is a different thing. Hope this helps! |
Beta Was this translation helpful? Give feedback.
-
|
Answered with Adrian's comment. |
Beta Was this translation helpful? Give feedback.
Hello there!
When the operator selects something in an input list what's actually happening is that they are changing the number variable associated to that input list! So the function you want is actually
get_vt_change_numeric_value_event_dispatcher.The "VT Select Input Object Event" is a different thing.
Hope this helps!