Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Displaying multiselects in listbox after returning to pa
Message
De
04/06/2002 17:52:13
Irv Adams
MSC Managed Care, Inc.
Floride, États-Unis
 
 
À
04/06/2002 17:23:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00664721
Message ID:
00664746
Vues:
23
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform