>>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.