General information
Category:
Forms & Form designer
Steve:
Check out the Selected property for the listbox; it is read/write at runtime and works with the Multiselect property.
HTH,
-Irv.
>OK, that got me thinking in the right direction.
>
>Now my question is, how do I programmatically (sp?) select items in a listbox.
>
>how would I set the value of
>thisform.pf1.pg1.listbox1.selected[ncount]
>to .t. or .f. ?
>
>
>>>I have a multiselect listbox on a page of pageframe.
>>>
>>>All works well, but if I leave and return to the page, the display of which items were selected is cleared. How can I redisplay the 'selected' items on returning to the page?
>>
>>I was not able to reproduce this on my VFP 7.0 SP1/W2K Pro. How do you populate the rowsource of your Listbox? What kind of RowSourceType do you use? If you use tables/views, do you use table buffering?
>>
>>Regards
Previous
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