MultiSelect
This property determines whether list boxes can have multiple items highlighted at once.
Usage |
lstList.MultiSelect = lMultipleItems lMultipleItems = lstList.MultiSelect |
In VFP 3, there is a limit of 60 selected items at once. You can put more than 60 items in the list and you can try to select them, but as you select more items, once you get past 60, your first selections get deselected. We weren't at all surprised that this bug was fixed fast. (It's there in VFP 3.0 and 3.0b, but fixed in 5.0 and later.) |
VFP 3 has another multi-select bug, too. When RowSourceType is 2, 3, 4 or 5 (that's Alias, SQL, Query and Array), a previously selected item doesn't always deselect when it should. Here's the simplest example. Run a form with a multi-select list of one of these types and a button. Click an item in the list. Now click the button. Now click a different list item. We see two highlighted items. This nasty bug was also fixed quickly. |
Example |
frmMyForm.lstMyList.MultiSelect = .T. |
See Also |