Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox
Message
From
11/08/2003 16:58:01
 
 
To
11/08/2003 14:57:01
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00819056
Message ID:
00819159
Views:
15
when i click inside the combo theres not data

You need to take some action to populate the combo's internal list. If you are just hard-coding specific values, you can use code like this in the combo's init():
WITH This
  .AddItem( 'Apples' )
  .AddItem( 'Oranges' )
  .AddItem( 'Pears' )
ENDWITH
Now, if you want 'Oranges' to be the default value, all you need is this line of code:
Thisform.MyCombo.ListIndex = 2
because 'Oranges' is the 2nd item in the list

HTH
Previous
Reply
Map
View

Click here to load this message in the networking platform