Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox Help
Message
De
16/08/2002 17:29:09
Andy Roth
Neyenesch Printers
Californie, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Listbox Help
Divers
Thread ID:
00690569
Message ID:
00690569
Vues:
53
I am using a list box with 2 columns and it is bound to column 2 and multi select is true. When I use the following to see which items have been selected
and the value in column 2 is to be be put in a variable it always puts column 1
value instead. I need to have column 1 searchable so it needs to be listed in the list box first. If there is a way to put column 2 into in tha variable that is what I would like OR if I can make column 2 searchable in the listbox.
By searchable I mean if I type a character the list box will move to the first value with that character at the beginning of the string.

lcCustnos=""
FOR I=1 to THISFORM.CustList.ListCount
IF THISFORM.CustList.Selected(I)
lcCustnos=lcCustnos+','+THISFORM.CustList.List(I)
ENDIF
ENDFOR

Thanks
Andy Roth
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform