Hi Frederic ROBACHE,
It is my understanding that you want to set focus to a “uilistbox” in the App Designer. Here is a sample code for the same:
focus(app.ListBox);
You can refer to the following documentation to know more about the functions used:
Best regards,
Abhishek Chakram