Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with ComboBox
Message
From
15/11/2002 08:18:23
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00723117
Message ID:
00723141
Views:
9
>I have a comboBox, based on a form array(whicj I initialize in the init of the form), but when I click the down arrow, I can only see the first element, even though there are 4 elemets in the array.
>
>I have set the exact same comboBox up on another dummy blank form and it runs ok, so I can only assume that something else in my Live form is affecting the display.
>
>I have checked the obvious things but cannot get it to display more thatn the first element. I have another combobox on the same screen , which is based on values (rather than an array) and this works fine.
>
>Any ideas on what could be causing this.
>
>regards,
>
>Gerard

Gerard,
In form.init combo is already inited and sets the NumberOfElements to current value of alen(). Adjust it :

*Form init
*Prepare array
thisform.myCombo.NumberOfElements = alen(ArrayName)

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform