Information générale
Catégorie:
Codage, syntaxe et commandes
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement