Article ID: 194833
Article Last Modified on 8/21/1999
Object.InitChoices(@choicearrayname)
Object.InitSelections(@selectionarrayname)
Object.GetSelections(@targetarrayname)
DIMENSION aMyChoice[6]
LOCAL iCount
FOR iCount = ALEN(aMyChoice) to 1 STEP -1
aMyChoice[(ALEN(aMyChoice)+1)-iCount] = CHR(64+iCount)
ENDFOR
&& To initialize the aChoice array property and populate
&& the left list box
Thisform._supermover1.InitChoices(@aMyChoice)
Command1.Caption = "Display selected items"
Command2.Caption = "Display aChoice array"
DIMENSION aMySelection[1]
Thisform._supermover1.GetSelections(@aMySelection)
LOCAL iCount
FOR iCount = 1 TO ALEN(aMySelection)
WAIT WINDOW aMySelection[iCount]
ENDFOR
FOR I = 1 to ALEN(Thisform._supermover1.aChoices)
WAIT WINDOW thisform._supermover1.aChoices[i]
ENDFOR
Keywords: kbhowto kbffc KB194833