Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo box default selected item
Message
From
08/08/2001 18:59:36
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00541586
Message ID:
00541616
Views:
13
Sergey,
It is a property of the form. In the load I assign the values. This does work but only for the first value.


>Dan,
>How do you define an array? Is it a property of form or combobox? If not maybe it's just goes out of scoop.
>
>>I have tried a number of different things, including setting the DisplayValue. I am not binding the listbox to an table. Nothing seems to work.
>>
>>>Put the name of the item you want to dispaly into DisplayValue or set ListIndex to the element number. What is the value of the BoundTo property?
>>>
>>>>It's been so long, I've forgotten how to do this. I thought that there was a property to set that would pre-select an item. I am using an array and setting the display value to 1 and this forces the first item in the array to be selected.
>>>>
>>>>But, no matter what value I put in the DisplayValue it always shows the first item.
>>>>
>>>>TIA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform