Popup menu and do nothing

1 vue (au cours des 30 derniers jours)
john
john le 15 Août 2013
Hi,
how can I do this?
When I click on popup menu and I don't change a content, than print "You didnt change it". When I change the content, than print "You changed it".
thank you

Réponses (1)

Walter Roberson
Walter Roberson le 15 Août 2013
save the Value property of the menu. In the callback, compare the new Value property to the saved property.
Now if you need to be able to detect that the use moved onto the popup menu but did not click on anything or pressed escape to avoid selecting anything, then that task is more complicated.
  1 commentaire
john
john le 20 Août 2013
OK, thank you

Connectez-vous pour commenter.

Catégories

En savoir plus sur Environment and Settings dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by