Jesvin Jose
Jesvin Jose

Reputation: 23098

How to set the selected item in a ListCtrl?

How do I set an item as the selected item programmatically, given its index?

Upvotes: 2

Views: 1463

Answers (1)

GP89
GP89

Reputation: 6740

With the ListCtrl method Select

Select(self, idx, on=1)

[de]select an item

Upvotes: 3

Related Questions