Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic Label Class
Message
 
 
To
23/04/2004 07:37:14
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00897519
Message ID:
00897582
Views:
11
Steven,

You should put a method on the static form that the other places can call and send it the new string to be displayed. The method then handles the details of getting the new value onto the screen.

You could also expose a property on the static form and give it an assign method:
*cStatus_Assign
lparameter vNewValue
this.cStatus = vNewValue
this.Refresh()
I'd use a textbox instead of a label and format it to look like a label and set it's ControlSource to be thisform.cStatus

>How can I create a label to be used on a main static form and the caption be defined in another from or program on the fly?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform