Azzera filtri
Azzera filtri

How can I know pressed mouse key on a GUI push button?

2 visualizzazioni (ultimi 30 giorni)
MOHIT
MOHIT il 23 Giu 2016
Commentato: MOHIT il 23 Giu 2016
I have made a 'pushbutton' using GUI ('guide'). How can I know and display which mouse key (left, right or centre) I pressed over pushbutton?
  2 Commenti
Gabriel
Gabriel il 23 Giu 2016
Why would you need to know which mouse button is pressed over a pushbutton? Do you need to get different behavior depending on the mouse button pressed? If so, can't you use a pushbutton list?
MOHIT
MOHIT il 23 Giu 2016
No, actually I need this behaviour, else I will have to make 9 pushbuttons

Accedi per commentare.

Risposte (1)

Steven Lord
Steven Lord il 23 Giu 2016
See the figure's SelectionType property.

Categorie

Scopri di più su Migrate GUIDE Apps in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by