Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo Box and descriptive field label
Message
From
24/05/1999 17:12:05
 
 
To
24/05/1999 16:42:00
Richard Williams
State of Ohio, Dept. of Development
Columbus, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00222228
Message ID:
00222240
Views:
19
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform