Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Blank line in DropDown list
Message
From
21/03/2000 20:32:09
 
 
To
21/03/2000 20:18:44
Jean-Marc St-Hilaire
Service Informatique Rc Ltée.
Rigaud, Quebec, Canada
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00348685
Message ID:
00348690
Views:
20
Hi, Jean-Marc,

The blank line is added by the combobox automatically becasue your initial value is blank and the combobox wants to have in its list all of the possible values the box can have, including its initial blank value.

Fix the problem by putting something like "myCombobox.listItem = 1" or "myCombobox.value = myCombobox.list[1]" in your requery() method. This will give the box an initial value of the first item in the list and the blank line will go away.

regards,
Jim Edgar
Jurix Data Corporation
jmedgar@yahoo.com

No trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.
Previous
Reply
Map
View

Click here to load this message in the networking platform