Effacer les filtres
Effacer les filtres

How to execute the callback of a pushbutton which is behind another pushbutton?

1 vue (au cours des 30 derniers jours)
In GUI I had a big pushbutton which is having picture inserted. Consider the picture is a human image.. Im adding many pushbutton on top of the picture pushbutton exactly at eyes,hand etc. I brought the big picture pushbutton to front using 'Bring to front'. Now I am running the figure. In that I will only see the picture. If I click his eye, actually the callback of pushbutton behind his eyes has to be executed.
For that what I shall do?. Please Suggest me ideas

Réponse acceptée

Azzi Abdelmalek
Azzi Abdelmalek le 31 Mai 2013
If the other pushbuttons are not visible, This is not possible
  1 commentaire
Vivek
Vivek le 3 Juin 2013
Please tell me how to get the value displayed in display block using mscript

Connectez-vous pour commenter.

Plus de réponses (1)

Walter Roberson
Walter Roberson le 31 Mai 2013
uicontrol() are not stackable. One cannot be "above" or "below" another one. How such a situation would render or act is undefined.
That said, you can set the HitTest property to 'off' on the eyes, etc..
  4 commentaires
Walter Roberson
Walter Roberson le 3 Juin 2013
Modifié(e) : Walter Roberson le 3 Juin 2013
The value displayed where? You have not described any "value" being displayed or any "display block", only pushbuttons. Are you talking about the Value property of a pushbutton? If so then just get() the Value property.
Vivek
Vivek le 3 Juin 2013
No. just forget the question. this is new one. In simulink we have display block. Is it possible to get the value displayed in display block using mscript? Because through get_param I dont know how to scan the value.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Interactive Control and Callbacks dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by