Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Array in Listbox
Message
From
30/01/2003 08:22:26
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00746966
Message ID:
00747083
Views:
23
>Hi Gavin,
>
>>Sounds like you have THISFORM.pfgReportFrame.Page1.Lstlistboxcustom.NumberOfElements = 2
>
>I sure did - must have typed that in by accident.

Just for everyone's benefit, there's no reason ever to set NumberOfElements for a listbox or combo unless you're using a one-dimensional array and limiting it to a subset of the array elements.

The right way to tell a list or combo that it's source array has changed it to call its Requery method.

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform