Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ListBox Values
Message
From
29/07/1997 07:26:29
 
 
To
28/07/1997 15:09:42
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00041988
Message ID:
00042083
Views:
31
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform