Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Simple combobox quest
Message
 
To
11/12/1997 10:57:25
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00065229
Message ID:
00065262
Views:
36
>>>>>>>Having not used comboboxes, what is the way to populate it with alpha values you wish to use?
>>>>>>
>>>>>>Thisform.Combo1.Additem("A")
>>>>>>Thisform.Combo1.Additem("B")
>>>>>>etc.
>>>>>
>>>>Actually, is there a way to have the combobox appear with a value intact that is the most widely used value? Right now it comes up blank and you have to click to reveal the ones below.
>>>
>>>**** combo.inti event
>>>This.AddItem("A")
>>>This.AddItem("B")
>>>This.AddItem("C")
>>>This.Value="A"
>>
>>Thnaks Ed. If you could assist on this: a listbox I have; when you arrow down on it thru the items, it acts as if it were the same as clicking. Can this be avoided?
>
>Sorry, it's not very understandable. Normally, when a user press UP/Down Arrow key, having focus on list, another item gets selected. Is it not what you want? What behaviour would you like to have?

check your keypress event (if it is 'selecting' the next/prev item and changing focus to next field.)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform