Hi all,
In AppDesigner, does anyone know how to set the focus to a uilistbox ?
1000 thanks.

Antworten (1)

Abhishek Chakram
Abhishek Chakram am 11 Okt. 2023

0 Stimmen

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

Kategorien

Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2021a

Gefragt:

am 7 Jun. 2021

Beantwortet:

am 11 Okt. 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by