Something seems funny with the SetFocus(id,index)... (I'm on the Windows build incase its an os build issue). If I do SetFocus(1100, 0) it selects the second item in the list not the first, doing SetFocus(1100,1) it selects the third item.. like the index's are 1 off. Take these examples:
Code:
<onright>SetFocus(1201, 0)</onright>
Code:
<onright><![CDATA[CallPython(
nextlist = mc.GetActiveWindow().GetList(1201)
nextlist.SetFocusedItem(0)
nextlist.SetFocus()
)]]></onright>
The first code snippet has the problem, but the second functions correctly selecting the top item in the list.
Bookmarks