Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Equal sign in label's .caption
Message
From
28/06/2005 13:54:25
 
 
To
28/06/2005 12:48:55
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01027099
Message ID:
01027140
Views:
11
>>=" =" (Equal-apostoph-space-equal-apostroph"
>>
>>
>>>Can't get this to work... and can't find it in help either, and almost two years have passed since I last did this. UT search doesn't allow equal sign in the search string, and there don't seem to be too many label-related messages in this category anyway. So - question:
>>>
>>>I want to use a =expression as a caption of a label. But it doesn't refresh - whatever value the expression had when the label was instantiated, that value remains. I also tried =(expression), same result.
>>>
>>>Was there some trick to this?
>
>OK guys, you got me all wrong.
>
>1) I don't want to display an equal sign
>2) I know I can put any code into label's refresh - that's what I wanted to avoid
>3) I want to use the VFP's native behavior for cases when the .caption begins with an equal sign, but it evaluates the expression only once.
>
>How do I get it to re-evaluate the expression when the label refreshes? Without code, that is. I know I can write my own refresh - but then didn't need the special .caption format for that, I could have used a custom property to store the expression.

OK, I understand, but since your title referred to one of the problems one may face when upgrading, I did not read the whole message. However, why not use a textbox?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform