Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form Caption
Message
From
30/11/1999 01:15:16
 
 
To
29/11/1999 09:33:06
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00295963
Message ID:
00296735
Views:
23
>>>>Is there a way (isn't there always?) to assign a variable or object value to a form caption? Every way I tried always uses the expression literally.
>>>
>>>Not at design time, since the caption is evaluated just once. Do it with cod ein hte form's init method.
>>
>>Actually provided the object or the variable is defined before the form is run (and in scope)you can do that
>>
>>e.g. create a new form
>> set the form caption property to =pcSomeValiable
>>pcSomeValue="Caption to use"
>>and run the form
>>
>
>Yes but we wouldn't want to give the impression that the form.caption would be "bound" to this property... it will still be evaluated only once. KNowing this, what's he point in assigning it in the property sheet and worrying about instanciating order?

I didn't say this is the prefered method (or even a good method) to do that
but I just noted its doable :)

Arnon
Previous
Reply
Map
View

Click here to load this message in the networking platform