Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ListBox Values
Message
De
29/07/1997 07:26:29
 
 
À
28/07/1997 15:09:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00041988
Message ID:
00042083
Vues:
29
>>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
Fil
Voir

Click here to load this message in the networking platform