Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Simple combobox problem
Message
De
30/10/2008 14:47:07
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01358399
Message ID:
01358444
Vues:
25
Well, .Value is correct, but no matter what I do, it seems that I can't get DisplayValue to be non blank. --- unless I set the focus, which isn't very helpful, as the form comes up with that field blank initially and I don't what to focus on it.

>>I don't what it to be 1 --- I want it to match the data that's already in the field.
>>
>>>>I have a combobox which always comes up blank (matching the first row in the RowSource) when I bring up my form. I would like to see the actual value there.
>>>>
>>>>When I click on the combobox, the correct value appears.
>>>>
>>>>What do I have to do to make the correct value appear without clicking on the combobox?
>>>>
>>>>Thanks
>>>
>>>Try to set its ListIndex to 1 in Init.
>
>Ok, set value to be value or DisplayValue to be DisplayValue.
Jim Nelson
Newbury Park, CA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform