Page 1 of 1

How to select a listview

Posted: Tue Jun 20, 2023 5:17 pm
by papiosaur
Hello,

i know activate the first entry (0) of a listview with:

Code: Select all

moai.set("listview", "Active", 0)
But the listview is not selected automaticaly...

Is there a soluction to "select" the listview too ?

I would like to down in the listview with cursor down but impossible if listview is not selected.

Thanks for your help.

Re: How to select a listview

Posted: Wed Jun 21, 2023 7:13 am
by jPV
Try if Window.ActiveObject would do the trick.

Something like moai.Set("win", "activeobject", "listview")

Re: How to select a listview

Posted: Wed Jun 21, 2023 10:52 am
by papiosaur
Hi jPV,

Code: Select all

moai.Set("window", "activeobject", "listview")
Work perfectly! Thanks a lot!