Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox Value
Message
De
08/10/2003 13:13:00
 
 
À
08/10/2003 12:20:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00836294
Message ID:
00836332
Vues:
10
>Hello all...
>I am creating a form (in VFP 6) that our developers will use to initiate variables for a program that we run on a daily basis. Most of the values don't change, but a few of them do. I am using comboboxes and would like to set the properties on the object rather than hardcode it. I have a list of items (C,N,L,D) for the user to select and have the DisplayValue property set to 'L'. This will display the value on the form, but the application doesn't register anything as an actual Value unless I tab through all of the fields. If I set the Value property to 'L' nothing shows in my combobox. What can I do that doesn't require hardcoding...I have about 40 fields that I am working with.
>

If the value you want is based on some other piece of data, use that to initialize the combo:

This.Value = m.SomeVariable

or

This.Value = SomeAlias.SomeField

Tamar
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform