Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Equal sign in label's .caption
Message
De
28/06/2005 13:12:48
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
28/06/2005 13:04:51
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01027099
Message ID:
01027129
Vues:
25
>>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform