Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement