Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programmatically choosing Combobox values
Message
From
16/11/1999 03:47:14
 
 
To
15/11/1999 16:29:25
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00291288
Message ID:
00291393
Views:
24
Hi JD.

>>...I think my syntax telling this generated number to be displayed in bun1 is missing something, but in case i'm wrong, my types are:
1. bun1 is a combo w/ numeric value (no decimals) <<

Do you have BoundTo set to true for Bun1 and Len1? If you want the combo to take its value from the list instead of the listIndex when its value is numeric, you must set BoundTo = .T.

>> 2. lncol2value1 is a variable w/ numeric value (example: .667)
3. lncol3value1 is a variable w/ numeric value (no decimals) <<

Where do you have the variables defined? They go out of scope when the method in which you define them ends.

Also, if your calculated value is not in the combo box's list, you cannot set the combo box's value to it.

Marcia
Previous
Reply
Map
View

Click here to load this message in the networking platform