Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing a label
Message
De
04/12/2003 08:03:02
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00855785
Message ID:
00855788
Vues:
17
Hi Neil

Use the Interactivechangeevent in the combobox.

Check this.value and alter the label caption

DO CASE
CASE this.value = "F"
ThisForm.Label1.caption = "Fabric"
CASE this.value = "L"
ThisForm.Label1.caption = "Lining"
CASE this.value = "I"
ThisForm.Label1.caption = "Interlining"
ENDCASE


Nick Mason
>I have a combo box on a form and a label next to it. When I change the value in the combo box I want it to refresh the label on the screen. For example My dropdown has 3 values F, L and I, When I click on F I want the label to say Fabric, when I choose L I want it to say Lining and when I select I it should say Interlining. Any ideas???
>
>Many Thanks
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform