I coded my dialog with the below code
but on the screen, the combobox shows sorted

Which is incorrect as I need the combobox to display in the order of 4 --> 6 ---> 8 --> 10 --> 12 .......
How to I get it display in the order the array was assigned?
Code:
LOCAL NBarArr() AS STRING REDIM NBarArr(1 TO 8) ARRAY ASSIGN NBarArr() = " 4", " 6", " 8",_ " 10" , " 12" , " 14"," 16" , " 18" CONTROL ADD LABEL, hDlg, %ID_LabNBar , "Number of Bars " , 60, 225 , 115 , 18 CONTROL ADD COMBOBOX, hDlg, %ID_CmbNBar, NBarArr(), 150,225 , 60,20
but on the screen, the combobox shows sorted
Which is incorrect as I need the combobox to display in the order of 4 --> 6 ---> 8 --> 10 --> 12 .......
How to I get it display in the order the array was assigned?
Comment