Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mover box class
Message
From
13/08/1999 02:36:02
 
 
To
12/08/1999 20:41:57
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00253279
Message ID:
00253319
Views:
17
Hi Gaylen,

The 'aselections' property array cannot be used to find out the
selected records.

You can make use of the Listcount and selected properties of the
Listbox.

The following code can be used to go through the list of available
values in the list box and find out those values which are selected.

FOR nCnt = 1 TO ThisForm.lstLeft.ListCount
IF ThisForm.lstLeft.Selected(nCnt) && Is item selected?
ThisForm.lstListBox1.List(nCnt)
*** This will get the selected value
ENDIF
ENDFOR

I hope this helps you.

Kamal
IGENESIS

<<
I am trying to use the simple mover list box in the founation classes.

I can find the highlighted selected item in the lstright listbox by
using the value of the list box.

How can I find the values when more than one item is selected???

I am using an array to populate the lstleft list box.

I tried to read the 'aselections'property array , but that doesn't
seem to work or I am not doing it correctly.

Any help would be appreciated.
>>
Previous
Reply
Map
View

Click here to load this message in the networking platform