helpdialog

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!

回答(1 个)

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

类别

帮助中心File Exchange 中查找有关 App Building 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by