Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Displaying multiselects in listbox after returning to pa
Message
From
04/06/2002 17:52:13
Irv Adams
MSC Managed Care, Inc.
Florida, United States
 
 
To
04/06/2002 17:23:03
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00664721
Message ID:
00664746
Views:
24
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
Map
View

Click here to load this message in the networking platform