<< 5-0 5-0 demoplay >>
removed >> removed > 5-0 > buttondialog

buttondialog

Create a simple button dialog

Calling Sequence

answer = buttondialog(mes, buttons)
answer = buttondialog(mes, buttons, icon)

Parameters

mes

string, message to display.

buttons

string, buttons name.

icon

string, icon type, should be: error, hourglass, info, passwd, question and warning.

Description

buttondialog create a simple button dialog and retur the answer. buttons identify the buttons to show in the following manner : "button_1|button_2....|button_n"

Examples

answ = buttondialog("This is an example","ok");
answ = buttondialog("Do the work?","yes|no|maybe","question");

History

VersionDescription
5.0 buttondialog was published up to Scilab 5.0. It is replaced with messagebox.

<< 5-0 5-0 demoplay >>