|
Contents | Previous | Next | Subchapters |
| Syntax |
easydlg(caption, buttons, message, layout) |
| See Also | addlabel |
"label",
the corresponding
field setting
is the initial value for the field.
This setting can be any sequence of characters not containing a semicolon.
clear
caption = "Label_callback"
buttons = {"Ok", "Cancel"}
message = "Save study to the specified file"
layout = "label, File, 15, lib\easydlg.oms"
easydlg(caption, buttons, message, layout)
function Label_callback(button) begin
print "button =", button
end
Label_callback will be called and it will print the text
button = Cancel
in the Command window.