App designer listbox detect mouse click

9 次查看(过去 30 天)
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?

回答(1 个)

Sahithi Kanumarlapudi
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 个评论
Jian Wu
Jian Wu 2020-6-4
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
this is what the item filter function does too?. Then why not add the functionality of this function to ListBoxValueChanged itself?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Develop Apps Using App Designer 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by