Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Move items between listboxes
Message
From
26/06/2004 17:45:13
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Move items between listboxes
Miscellaneous
Thread ID:
00917619
Message ID:
00917619
Views:
45
Hi All,

I have this list boxes controls in my form that
I copied from the moverlists class in "Solution"
of VFP6.0. I have the following 2 problems when
moving items between the list boxes.

1. It seems I can only display multi columns for
the two list boxes by setting RowSourceType
to 2 or above. Setting RowSourceType to 0
or 1 makes the listbox to display only 1 column.
Since I need to clear the listboxes often so
I'd prefer to set RowSourcetype=0. If I do that
is it still possible to set them to display
multi columns?

2. If I specified RowSourceType to 6 for both
listboxes, The code
SCAN
List.AddItem(table.field)
ENDSCAN
fills both (source and destination) boxes
instead of only the source listbox. Anyone
knows why I am doing wrong here?


I am using VFP6.0 sp5. Thanks for any inputs.

--
jw
Next
Reply
Map
View

Click here to load this message in the networking platform