I am trying to populate a menubox with presets that are actually keys on a given section of a the exts-state.ini file. So the latest options of the opts parameter need to be given programtically.
After getting the keynames from Extsate i end up with a string like this:
Code:
preset_list = '"preset1","preset2","preset3"'
GUI.New("Preset_menubox", "Menubox", {
z = 11,
x = 500,
y = 128,
w = 128,
h = 20,
caption = "",
optarray = {"PRESETS...","Save","Delete",">Load", preset_list },
This doesnt create 3 options at the end but just a long one with all the quotes. I guess this was a very dirty approach...
Is there anything i can do?