LM_ImageTextList:SetSelItem(id, redraw, addToSelection)
Version added: 12.2
Up to 14.1, this method doesn't work!
Arguments:
| Name | Type | Description | Default | Ver |
| id | int32 | 12.2 | ||
| redraw | bool | true | 12.2 | |
| addToSelection | bool | false | 12.2 |
Return value:
void
Up to Moho 14.1 (included), this method doesn't allow to select items by means of IDs. However, there is a workaround that hopefully should fulfill most situations consisting of using SetSelItem(label, redraw, addToSelection) method instead in, e.g., the following way: d.myTextList:SetSelItem(d.myTextList:GetItem(0), true, false)) which with, in this case, you'll get list's first item selected by ID, indirectly, but working as expected.
Search results
Usage of 'SetSelItem' is found in the following scripts:
MR Overlay (Moho 14.1+ Edition) by eugenebabich
View Code
SS - Number Sequence (Original Edition) by simplsam
View Code
WP Platter Control (Original Edition) by wigglepixel
View Code
MR Name (Original Edition) by eugenebabich
View Code