Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ComboBox ListIndex - Syntax Error
Message
 
À
08/05/2007 12:34:57
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01223409
Message ID:
01223470
Vues:
15
Jay,

>And I want to show the description in the combo, but use the code for processing afterwards. Any insight to how this works best? Thanks!

You have at least two way of handling that, one is using the cursor directly (although if you use this way the name of the cursor will be misleading <g>)

The other way is Using the List array property of the combo
yourCombo.List[yourCombo.ListIndex, 1] && Currently selected Description = CurNotForUse.Desc
yourCombo.List[yourCombo.ListIndex, 2] && Currently selected Code        = CurNotForUse.Code
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform