list_select()
Pops up a list selection dialog box. Returns a string. The "ok" button returns the selected string. The "cancel" button returns a NULL string which passes the is_string() function test.
Syntax:
list_select(title, selectionList, aelFuncName);
where
title is the dialog box title.
selectionList is the list of selections to display in the dialog box.
aelFuncName is a string. AEL function to call when component selected.
Example:
The example prints the string for the selected component after dialog box is displayed and OK is pressed.
defun item_selected(item)
{
fputs(stderr, strcat(item,"was selected"));
}
list_select("Items",list("one","two","three"),"item_selected");
Download Example File:
The following link(s) lead to the Agilent EEsof EDA Knowledge center website. You will need to register at this site with a valid support contract to download an example file.
Where Used:
Graphical user interface
Privacy
Statement
|
Terms of Use
|
Legal |
Contact Us
|
© Agilent 2000-2008 ![]()