How to select a listview

Discuss GUI programming with the RapaGUI plugin here
Post Reply
papiosaur
Posts: 217
Joined: Fri Mar 31, 2023 1:34 pm

How to select a listview

Post 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.
User avatar
jPV
Posts: 734
Joined: Sat Mar 26, 2016 10:44 am
Location: RNO
Contact:

Re: How to select a listview

Post by jPV »

Try if Window.ActiveObject would do the trick.

Something like moai.Set("win", "activeobject", "listview")
papiosaur
Posts: 217
Joined: Fri Mar 31, 2023 1:34 pm

Re: How to select a listview

Post by papiosaur »

Hi jPV,

Code: Select all

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