helpdialog

6 views (last 30 days)
Iman Alsharkawi
Iman Alsharkawi on 8 Apr 2011
If I prompt a questdlg with a 'Yes', 'No', and 'Help' button, how do I keep the dialog up if the user clicks on 'Help'? The 'Help' button activates a helpdlg. My intent is to have the user evaluate the help information, then go back to the questdlg and answer yes or no.
Basically, as long as the user has clicked 'Help', the questdlg will wait for a 'Yes' or 'No' response before proceeding.
Thanks!

Answers (1)

Sean de Wolski
Sean de Wolski on 8 Apr 2011
An easy way: you could just re-call it...
HD = helpdlg(etc) %offer help
uiwait(HD) %wait for them to be helped
questdlg(etc) %repeat original call

Categories

Find more on Dialog Boxes in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!