>>I need a little help working with the listbox control. Here's my situation:
>>I have a listbox that's part of a container that gets dropped on the 2nd page of a tab control. My user must select criteria on page 1 (a textbox and optiongroup) that is used in determining the values that appear in the list box. The container has a custom method that populates arrays used for the list box. The problem that I'm having is that the listbox doesn't display the value, it flashes it very quickly and then nothing.
>>
>>I'm new to Visual Fox (that's part of the problem, I'm sure) and would very much appreciate any expert advice.
>>
>>Thanks in advance,
>>
>>Lori
>
>Two things:
>First is mandatory: issue .Listbox.Requery() any time you change RowSource.
>Second is recommended: Cursor is better RowSource than Array.
Edward,
Excuse me for butting in to this thread -- but could you give a few reasons why a cursor is better than an array for RowSource? Is it a performance issue?
Thanks for your insight.
Valerie
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