App designer listbox detect mouse click

4 views (last 30 days)
Jian Wu
Jian Wu on 22 May 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?

Answers (1)

Sahithi Kanumarlapudi
Sahithi Kanumarlapudi on 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 Comments
Jian Wu
Jian Wu on 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 on 9 Jun 2020
this is what the item filter function does too?. Then why not add the functionality of this function to ListBoxValueChanged itself?

Sign in to comment.

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!