2024-09-05 03:59 PM
Hello,
is it possible to use an array to create a list of dropdown options that can be changed on the fly?
So instead of
values "example" option1, option2... etc
we could have
values "example" option_array[]
which would automatically fill the list with the array values.
Thanks
2024-09-05 04:04 PM
Hi
it is possible. Here a quick preview:
2024-09-05 04:10 PM - edited 2024-09-05 04:33 PM
What's the type of the parameter? If it's numerical, you could use parameter buffer (put and get). If it's a string, you'll have to use values{2} and create a parameter for the numerical representation of the value, which is a good idea anyways.
Edit: never mind, see @Xandros' solution below.