RedcrowProd
Member
|
List setcur question
Hi,
Wondering why setcur on list doesnt highlight the line that is the new cur ?
Or is there any manual way that i could do that?
(This post was last modified: 06-13-2020 04:40 AM by RedcrowProd.)
|
|
06-13-2020 04:21 AM |
|
Esenthel
Administrator
|
RE: List setcur question
there's List.cur and List.lit and 'setCur' sets cur only
|
|
06-13-2020 04:51 AM |
|
RedcrowProd
Member
|
RE: List setcur question
List.lit doesn't seems to do it tho, it is in valid indexes right ?
Is lit only for over and not sel ?
I do setdata for list
Setcur(index)
Lit=index
Elm is not Selected
(This post was last modified: 06-13-2020 07:14 AM by RedcrowProd.)
|
|
06-13-2020 07:07 AM |
|
Esenthel
Administrator
|
RE: List setcur question
Code:
// elements
Int cur, // current element (in visible indexing mode)
lit; // highlighted element (in visible indexing mode)
Memc<Int> sel; // selected elements (in absolute indexing mode to allow selecting hidden elements), this allows to obtain all selected elements, this is valid only if 'flag' has LIST_MULTI_SEL option enabled
I recommend that you can do debugging the source to figure out what's the problem in this case.
You can also check List.cur_mode
|
|
06-14-2020 06:04 AM |
|