In my project I have to select all the items in a combobox, is there a way doing that
Announcement
Collapse
No announcement yet.
How to select all indexes of combobox
Collapse
X
-
You can use the ListBox.SelectItem() action to select one or all items. See the third example in the documentation, which appears to be what you want.
Ulrich
Comment
-
Ezekiel Bucknor , your code in pic makes NO Sense.
Have you selected Multiselect in options of listbox
OK I've done a quick example of how to select an item / items in listbox
[ATTACH]n305956[/ATTACH]
Please study code
Cheers
- Likes 1
Comment
-
Code:tSelected = ListBox.GetSelected("ListBox1"); if tSelected then sText = ListBox.GetItemText("ListBox1", tSelected[1]); Table.Concat(tSelected,",",1,1) Application.SaveValue("Value", "Key", sText); end
result in
HKEY_CURRENT_USER\Software\Indigo Rose\ACData\Value
- Likes 1
Comment
Comment