Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mover box class
Message
De
13/08/1999 02:36:02
 
 
À
12/08/1999 20:41:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
00253279
Message ID:
00253319
Vues:
18
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.
>>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform