07-12-2023 10:28 PM
Hi All,
I have cluster consist of list box, 1D cluster array, combo box ..etc.
Would like the 1D cluster array display the info follow the combo box selection.
If user select "a" in combo box, the 1D cluster array will goto array index 0 and so on.
Attach with the code.
Thanks,
Simon
Solved! Go to Solution.
07-13-2023 12:38 AM - edited 07-13-2023 12:41 AM
Just write to the indexvals property.of the arrays.
(it seems extremely convoluted to have the entire front panel a single cluster of controls. The user can change the index at any time, making it inconsistent with the combobox later. Why not use a ring instead of a combobox? )
07-13-2023 01:29 AM
Hi Althenbach,
How you able to get the indexvals property of the arrays?
Is it because of the 1D cluster array inside the single cluster and not advisable?
The purpose using combo box is allow user to key in new sales order no and update the combo box string[] and match the new client info (deliver/ship to).
All the info save to database and retrieve when call this module.
Thanks,
Simon
07-13-2023 01:41 AM
@SimonChin wrote:
How you able to get the indexvals property of the arrays?
Is it because of the 1D cluster array inside the single cluster and not advisable?
You right-click on the array container on the front panel..create..property node...indexvals
I don't understand your second comment.
07-13-2023 03:18 AM
Got it.. Thank you for the support.
-Simon