Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to assign a value to the caption of a label
Message
From
17/01/2008 13:55:59
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01282737
Message ID:
01282753
Views:
6
>>On the property sheet:
>>
=thisform.ApptType
>>
>>In code:
>>
label.Caption = "=thisform.ApptType"
>
>
>Nope.
>
>label.caption = thisform.ApptType
>label.refresh()
While you can reference thisform.ApptType without the quotation marks and embeded equal sign, I've never had to call a label.Refresh().
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform