Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Equal sign in label's .caption
Message
From
28/06/2005 13:12:48
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
28/06/2005 13:04:51
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01027099
Message ID:
01027129
Views:
24
>>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.
>
>I don't know if there really is a special magical format for that. I needed to code at least in refresh:

>
>Public oForm
>oForm = Createobject('myForm')
>oForm.Show()
...snip...
>  Procedure Refresh
>    With This.myLabel
>      .Caption = .ReadExpression('Caption')
>    Endwith
>  Endproc
>Enddefine
>
Cetin

OK, so it will not refresh without code. Makes the whole gadget sort of useless, don't you think? I wish they just added a .controlsource property and made it re-read it on refresh. Would be simpler, IMO.

Thanks, anyway - at least I know I haven't gone through that amnestic deja vu ("I think I've forgotten this before") again. It just doesn't do what I thought it would.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform