Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo question
Message
 
 
À
26/06/2007 11:42:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01234596
Message ID:
01235699
Vues:
18
>>Checked. ContolSource's value is in the list of values, but Combo comes up blank.
>>
>>OK - unless this combo is in a grid, the only reason that the combo would come up blank is that the value of the controlSource is not in its internal list - even though it may superficially look like it is. In this case you need to check the respective data types, etc. of the controlSource and RowSource to ensure they match. Verify BoundColumn and BoundTo to make sure that you are binding to what you think you are.
>>
>>If the combo is in a grid, this is a known issue with RowSourceType 2-Alias and 6-Fields. The workaround is to change the RowSourceType to something else.
>Well, I got it working doing this: I am assigning ControlSource to a field of the cursor that actually does not exist at the time of loading. VFP does not complain. Later on that curso will be created. So when time comes to show the combo it looks fine. But now I am having another problem. When I click on the combo it looses its dislpay value. Next problem to work on. :(

Can you assign ControlSource (and RowSource) after everything is in place (all cursors exist)?
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform