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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only