Effacer les filtres
Effacer les filtres

Button group, radio button, pop-up menu

3 vues (au cours des 30 derniers jours)
ET1994
ET1994 le 16 Sep 2018
Commenté : Jan le 17 Sep 2018
The final results should be when choosing one from A, the B then appear . One choice from B if first one then go to C, second go to D and C not proposed. From D when choosing one of 2 first choice you have the X list, which can be optional. Z is compulsory, when choosing one of them there is a percentage chosen in the background and hold with the information previously choose.
Coding for the buttongroup -
set(handles.claim_buttongroup, SelectionChangeFcn,@claim_buttongroup_SelectionChangeFcn);
before the line: guidata(hObject, handles);
function claim_buttongroup_SelectionChangeFcn(hObject, eventdata)
%retrieve GUI data, i.e. the handles structure
handles = guidata(hObject);
switch get(eventdata.NewValue,Tag) % Get Tag of selected object
case rbt_radiobutton
%execute this code when rbt_radiobutton is selected
Need help!
  1 commentaire
Jan
Jan le 17 Sep 2018
What is your question?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur App Building dans Help Center et File Exchange

Tags

Produits


Version

R2008a

Community Treasure Hunt

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

Start Hunting!

Translated by