When we use a listbox by default the first word is highlighted (selected)
is there any way i can change the starting position of highlighted word but by keeping the list in the same order as previous one?
When we use a listbox by default the first word is highlighted (selected)
is there any way i can change the starting position of highlighted word but by keeping the list in the same order as previous one?
Yes, use the set_list(list[, current]) method, where list is the list of items you want in the listbox and current is the index of the item you want highlighted. For example, if you use current as 4 the 5th item will be highlighted.
A bit more info is available in the documentation.
Last edited by bogdan.galiceanu; 2009-07-17 at 21:41. Reason: Small typo