Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo Box with associated field
Message
De
21/05/1999 07:47:24
 
 
À
20/05/1999 17:35:53
George Simon
GS Data Technologies, LLC
Cincinnati, Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00221136
Message ID:
00221291
Vues:
12
>Hi Todd,
>
>I'll make some assumptions here about the combobox. Make the row source of your combobox a cursor, view, or table. Set the combobox rowsourcetype property to 6-fields, and the rowsource = cCursor.digit,digitdesc. Then in the valid event of the combobox place the following code:
>
>thisform.lblYourLabel.Caption = cCursor.digitdesc
>thisform.lblYourLabel.Refresh()
>
>HTH,
>
>George

I would do that in the InteractiveChange event, that way the label always shows the right description.

Peter
Peter Cortiel
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform