Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Display first item in a combo box
Message
From
02/09/1998 07:56:23
 
 
To
02/09/1998 07:14:25
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00132166
Message ID:
00132256
Views:
11
>>>I have a combo box and it is empty when I run the form. How do I make it show the first item in the array?
>>>
>>>Thanks
>>
>>
>>At init event of the combo box issue:
>>
>>This.Value = myarray[1]
>
>That doesn't seem to work.

Try:
THISFORM.cboCombo.LISTINDEX = 1

HTH,
Paul M.
Paul M.
MCSE/MCSA/MCT/MCP+I, A+, Network+, I-Net+
Nil carborundum illegitimi.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform