stanislaw_busza
Binge Watcher
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2022
12:03 AM
RowList - rowItemSelected field differs from rowItemFocused field (RowList bug?)
Hello, i am using RowList in my application and i discovered that sometimes rowItemFocused does not match rowItemSelected.
Here is my code:
sub init() ` (...) m.RowList = m.top.findNode("RowList") m.RowList.observeField("rowItemSelected", "onRowItemSelected") m.RowList.observeField("rowItemFocused", "onRowItemFocused") ` (...) end sub
I 've added prints to the observer function and it result in:
------------------------------------------------ onRowItemFocused <Component: roArray> =
[
3
0
]
------------------------------ onRowItemSelected <Component: roArray> =
[
0
0
]
So we see here that item was focused but after hitting OK on it (item is still focused, onRowItemFocused did not change!) we get onRowItemSelected signal with invalid values. What can i do ? What can be the reason ?