App designer listbox detect mouse click

4 Ansichten (letzte 30 Tage)
Jian Wu
Jian Wu am 22 Mai 2020
I have a listbox in my app and I want upon clicking on an item in the app designer to display some more additional information about the selected item. This I can achieve with ListBoxValueChanged function. However, the list box also get updated because I have implemented item filter functions. In such a case, the ListBoxValueChanged function does not get triggered. Is there a possiblity for implementing a mouse down function for list box in app designer?

Antworten (1)

Sahithi Kanumarlapudi
Sahithi Kanumarlapudi am 4 Jun. 2020
Hi,
As of now MouseDown function is not supported to be used with ListBox. But if you could provide more information on item filter functions, I might be able to suggest you a work around
  2 Kommentare
Jian Wu
Jian Wu am 4 Jun. 2020
I have some items in a list box. When I click on the item, I want a call back to obtain the meta data related to that item and get it displayed.
Sahithi Kanumarlapudi
Sahithi Kanumarlapudi am 9 Jun. 2020
this is what the item filter function does too?. Then why not add the functionality of this function to ListBoxValueChanged itself?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Develop Apps Using App Designer finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by