Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo Box and descriptive field label
Message
De
24/05/1999 17:12:05
 
 
À
24/05/1999 16:42:00
Richard Williams
State of Ohio, Dept. of Development
Columbus, Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00222228
Message ID:
00222240
Vues:
21
>Thread 221136 requested info for a combobox containing a two digit field to be displayed along with a changing label. This was to be accomplished by making the rowsource of the Cbo a cursor, view or table. I used a table. Then to 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.lblMYLabelCaption=cCursor.digitdesc
>thisform.lblYourLabel.Refresh()
>
>nothing happened
>
>I also inserted this code into the the interactivechage event,
>but still nothing
>
>any ideas how this could be accomplished or why mine isn't working?

It should work from InteractiveChange event, just make sure that you use correct syntax:
Thisform.MyLabel.Caption=myCursor.myfield
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform