>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
Edward, can you check _screen.activeform in the Debugger to see what is actual status of those form controls at the runtime. Do they have .picture and .label property assigned in the form class? If they are initially empty, check also form.lockscreen property status.
Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison