IupListDialog
11
IupListDialog
@serial = 830
dialog
Description
Shows a modal dialog to select items from a simple or multiple selection list.
Include
iup.e
Namespace
iup
Signature
public function IupListDialog(atom _type, object title = NULL, atom size, sequence list = {}, atom op, atom max_col, atom max_lin, atom marks)
Creation
type: 1=simple selection; 2=multiple selection
title: Text for the dialog’s title
size: Number of options
list: List of options. Must have size elements
op: Initial selected item when type=1. starts at 1 (note that this index is different from the return value, kept for compatibility reasons)
max_col: number of visible columns in the list
max_lin: number of visible lines in the list
marks: List of the items selection state, used only when type=2. Can be NULL when type=1. When type=2 must have size elements
When type=2, the function returns -1 when the user cancels the operation. If the user does not cancel the operation the function returns 1 and the marks parameter will have value 1 for the options selected by the user and value 0 for non-selected options.
Notes
The dialog uses a global attribute called "PARENTDIALOG" as the parent dialog if it is defined. It also uses a global attribute called "ICON" as the dialog icon if it is defined.
See Also
IupFileDlg | IupMessageDlg | IupFontDlg | IupProgressDlg | IupAlarm | IupGetFile | IupGetColor | IupGetParam | IupGetText | IupListDialog | IupMessage | IupScanf | IupLayoutDialog | IupElementPropertiesDialog |
Not Categorized, Please Help
|