Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Caption Function
Message
From
17/06/1999 10:36:41
 
 
To
15/06/1999 20:59:29
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00230018
Message ID:
00230892
Views:
27
Erik...

You're quite right. I was referring to the label's Refresh. We've gotten around this limitation by issuing a DOEVENTS in a custom method. This in turn causes any modified label captions to refresh.

Scott

>Note- except in VFP 3.0, a label's refresh method will not fire with form.refresh. For this type of thing, I usually use a textbox set to look like a label, and call the function from the refresh method.
>
>>Gerard...
>>
>>Have you considered instead making the call from the Init method? Or the refresh, if the caption is prone to change?
>>
>>Scott
>>
>>
>>>Hi,
>>>Within form designer, I'm trying to set up a function to display the caption for a field name. Basically, this function, at run time, goes awau to a file and gets a caption based on a parameter. Function as follows:
>>>
>>>=ScreLookup('SomeTexthere')
>>>
>>>This works ok, but on the design screen, the minute I put in the = sign (to work as a function otherwise it takes the text of the function as the caption) the caption becomes invisible, so I dont know if I have ANY caption there or not.
>>>Is this right and any way of suppressing it.
>>>regards,
>>>Gerard
Scott D. Grabo
Chief Information Officer
Occupational Health Group
First Advantage Corporation
Previous
Reply
Map
View

Click here to load this message in the networking platform