Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ListBox - MoverBar
Message
 
À
07/04/2000 12:35:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00356955
Message ID:
00356958
Vues:
14
Paige,

You can do something like...

SELECT LocalCursor
GO TOP
FOR i = 1 TO thisform.listbox.listcount
REPLACE NEXT MyField WITH thisform.listbox.list(i,1)
SKIP
ENDFOR

HTH,

Phil

Hello All,

I'm using a ListBox with MoverBars set to True so the user can resequence the contents of the ListBox. This works fine. I also want create a set of records from the contents of the ListBox in the order that is displayed. That order is controled by the ListIndex as opposed to the ListItemID. Question how do I retrieve the items in the list box in the order of the listIndex? I Used "AddListItem" to populate the ListBox from a table. How do I access the ListBox data to "replace" it into a table in the new sequence? TIA.

Regards,

Paige
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform