use child count to track state of search results
This commit is contained in:
parent
bd9a451601
commit
034c485990
|
@ -57,7 +57,7 @@ function onKeyEvent(key as string, press as boolean) as boolean
|
|||
if key = "left" and m.searchSelect.isinFocusChain()
|
||||
m.searchAlphabox.setFocus(true)
|
||||
return true
|
||||
else if key = "right" and m.searchSelect.itemdata <> invalid and m.searchSelect.itemdata.TotalRecordCount > 0
|
||||
else if key = "right" and m.searchSelect.content <> invalid and m.searchSelect.content.getChildCount() > 0
|
||||
m.searchSelect.setFocus(true)
|
||||
return true
|
||||
else if key = "play" and m.searchSelect.isinFocusChain() and m.searchSelect.rowItemFocused.count() > 0
|
||||
|
|
Loading…
Reference in New Issue
Block a user