de_question()
Invokes question dialog box in the current window. Returns: none.
Syntax:
de_question (title, questionStr, yesAelFuncName, noAelFuncName);
where
title is the dialog box title.
questionStr is the question to display in the dialog box.
yesAelFuncName is a string. AEL function to call when yes is selected.
noAelFuncName is a string. AEL function to call when no is selected.
Example:
de_question("Save As", "Save File", "yes_cb", "no_cb"); defun yes_cb(selH, dlgH, winInst) { fputs(stderr,"Answer yes"); api_dlg_unmanage(dlgH); } defun no_cb(selH, dlgH, winInst) { fputs(stderr,"Answer no"); api_dlg_umanage(dlgH); }
Where Used:
Graphical user interface
Privacy
Statement
|
Terms of Use
|
Legal |
Contact Us
|
© Agilent 2000-2008 ![]()