Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Objects don't show up on class
Message
 
To
26/03/1998 12:24:05
Edward Crawford
City Facilities Management
Glasgow, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00087339
Message ID:
00087350
Views:
31
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform