Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Label Class
Message
From
31/01/2003 14:02:11
 
 
To
31/01/2003 07:52:29
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00747603
Message ID:
00747786
Views:
11
Hi Steven,

Your other form needs to have an object reference to the main form. You control the caption with the object reference.

loMainForm.lblMessage.Caption = "Whatever"

There are a number of ways to do that. You can pass the reference to the other form on instantiation and save it as a property of OtherForm. (If you do that be sure to set the property to NULL before you try to close either form.) You can use the _Screen.Forms collection. Or you can create a forms manager that has an object reference to each form and manages interaction between forms.

pamela

>How can I create a label class, display it on my main form as a message to the users, and be able to control the caption from another form?
Previous
Reply
Map
View

Click here to load this message in the networking platform