Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing a label
Message
From
04/12/2003 08:03:02
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00855785
Message ID:
00855788
Views:
16
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform