Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COMBO BOX blues
Message
 
À
05/07/2002 16:56:32
John Baird
Coatesville, Pennsylvanie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00675761
Message ID:
00675765
Vues:
11
>Hi guys:
>
>I really feel stupid, I never use a combo box in a grid, but my current project has to have it that way.
>
>I, for the love of mike, can't get the stupid thing to work.
>
>The combobox has a record source of driver.drivername C(6), driverid I, and set to sparse = .F., 2 columns, 150,0 width. The grid column needs to display the drive name, which it does just fine. But when I click on the combobox, the display value goes blank, the currently dipslay value is not selected and when I select an item, it displays until I move form the row, then reverts back to the original value.
>
>I am missing some fundamental concept here. Can you help?

Hi,
In such a case, I usually use two fields in GrodRowSource. The first one is character field (in your case c(6). It is used for combos control source. The second one is the actual ID. It is not shown in Grid and is filled on combos Interactive change event.
Venelina Jordanova

Outsourcing IT Services Ltd.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform