DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Selecting multiple items in a listbox

Hi Brandon,
 
here i attached the files (see : dynamic_enumeration_for_table.zip)
 
thanks in advance
 
kaan
0 Kudos
Message 11 of 12
(1,131 Views)
Hi kaan,

In DIAdem 10.0, the only way to get multi-selection with the values of an enumerated type is to use an array in a table.  You can programmatically pull the values of the enum out and use them in an array, and display them in tables.  Here is example code for getting the enum's values.  You should assign the values to the array before calling the dialog.

Dim intNo
For intNo = 1 To MaxOrd("Colorlst")
  Call MsgBoxDisp ("Color No " & intNo & " is " & VEnum("ColorLst",intNo))
Next

Gavin Fox
Systems Software
National Instruments
0 Kudos
Message 12 of 12
(1,100 Views)