Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Preselecing t Items in a ListBox
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Preselecing t Items in a ListBox
Miscellaneous
Thread ID:
00393757
Message ID:
00393757
Views:
52
How can I preselect Items in a ListBox on a form to display as Selected when the Form Loads

The Following does NOT work

nCount = THISFORM.LstID.ListCount
FOR n = 1 TO nCount
THISFORM.LstID.Selected(n) = .T.
NEXT

Note : THISFORM.LstID.RowSourceType = 2 Alias
and THISFORM.LstID.MultiSelect = .T.
Next
Reply
Map
View

Click here to load this message in the networking platform