helpdialog

2 次查看(过去 30 天)
Iman Alsharkawi
Iman Alsharkawi 2011-4-8
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 个)

Sean de Wolski
Sean de Wolski 2011-4-8
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

类别

Help CenterFile Exchange 中查找有关 Dialog Boxes 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by