WideOKDlgWithListBo​x

produces a simple OK dialog to be used to display long help messages but may really be used for many
ダウンロード: 1.8K
更新 2005/7/27

ライセンスがありません

WIDEOKDLGWITHLISTBOX produces a simple OK dialog to be used to display long help messages but may really be used for many purposes.
The lengthy message is displayed in a listbox, which
has the advantage of permitting scroll bars.


INPUT
* QUESTION, type = string
* NAME, type = string
* LISTBOX MESSAGE,type = cell array of strings
OR a filename preceeded by "-f"
OUTPUT
* SELECTEDBUTTONNAME, type = string

USAGE
out = WideOKDlgWithListBox( ...
['Help for SearchReplaceManyGUI. This help page has been created ' ...
'to provide some basic guidance for the program ' ...
'SearchReplaceManyGUI. Unfortunately, since the programmer was ' ...
'very lazy, he used an automated help tool, AUTOHELP, and as a ' ...
'result this help may not be of much use.'], ...
'SearchReplaceManyGUI :: Help', ...
{['This is line one. It may be very long and scroll off the page. ' ...
'It may, in fact, be so long as to require scroll bars to ' ...'
'view.'], ...
'A 2nd Row','datum','more','another'});

ANOTHER EXAMPLE:
out = WideOKDlgWithListBox( ...
['WIDEOKDLGWITHLISTBOX This window page has been created ' ...
'to allow OK dialog boxes with a large listbox for long ' ...
'strings and cell strings. This ' ...
'Example loads the file Article1.txt and displays it in ' ...
'the listbox.'], ...
'WIDEOKDLGWITHLISTBOX :: File Example', ...
'-fArticle1.txt');

KEYWORDS
help helpdlg quesdlg grid_and_table spreadsheet question dialog

SEE ALSO QUESTDLGWITHGRID AUTOHELP QUESTDLG GRID_AND_TABLE SPREADSHEET

IT'S NOT FANCY, BUT IT WORKS

引用

Michael Robbins (2024). WideOKDlgWithListBox (https://www.mathworks.com/matlabcentral/fileexchange/8128-wideokdlgwithlistbox), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R14SP1
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersDialog Boxes についてさらに検索

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0