Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Moving Data Between List Boxes
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00155809
Message ID:
00155816
Vues:
15
>My list1 box displays two columns. My dblclick event is 'thisform.pageframe1.page1.list2.additem(this.list(this.listindex))'
>
>This moves only the first column to list2. The VFP solution only shows moving one column. What am I missing that would make the second column also display.
>
>Thanks.

Jeff,

Try something like this;
LOCAL lnItem
WITH THISFORM.PageFrame1.Page1.List2
   lnItem = .NewItemId + 1
   .AddListItem(THIS.List(THIS.ListIndex,1),lnItem,1)
   .AddListItem(THIS.List(THIS.ListIndex,2),lnItem,2)
ENDWITH
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform