Hi Ed,
The label and image that are in your form class, are they in the same class library as your form class?
>I have a class that is based on a form. The form has two objects. A label and an image.
>
>At the beginning of my program I create an instance of the form:
>
>oDisplayMessage = CREATEOBJECT("DisplayMessage")
>
>At some point in the program, I assign a value to the label and show the form:
>
>oDisplayMessage.lblMessage.Caption = "Checking Number"
>oDisplayMessage.Show()
>
>The form is displayed, but there is noting in it, no label or image. Both visible properties are set to .T.
>
>Does anybody have an idea of what is happening?
>
>Ed
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada
cmagee@metroland.comNever mistake having a career with having a life.