Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving Data Between List Boxes
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00155809
Message ID:
00155816
Views:
14
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform