General information
Category:
Forms & Form designer
Title:
Preselecing t Items in a ListBox
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only