Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Programmatically choosing Combobox values
Message
De
16/11/1999 03:47:14
 
 
À
15/11/1999 16:29:25
Jimmy Ditta
Twin City Electronics
Monroe, Louisiane, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00291288
Message ID:
00291393
Vues:
23
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform