Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Objects don't show up on class
Message
From
26/03/1998 14:09:14
Edward Crawford
City Facilities Management
Glasgow, United Kingdom
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00087339
Message ID:
00087415
Views:
38
>
>
>>>I'm not completely sure of the accuracy of this statement, but here goes: When you created an instance of your label and image the base class and class library are in appropriate properties. You then saved this form as a class to a different class library. I'm assuming that this new form class needs your subclassed base class library for the image and label contained in it. Are both class libraries included in your project?
>>
>>Yes they are. Here is the strange that I just discovered. It I suspend the program in the .Show() method of the class and step though it, everything is displayed as it should. Also if I call MESSAGEBOX while the class is visible, the objects appear (behind the MESSAGEBOX) as they should.
>>
>>Ed
>
>So, if you step through .Show everything shows fine but if you let it run normally you the label and image don't show? Strange! Not a solution but I'm just wondering what happens if you let .Show run normally and then suspend? i.e.:
>
>.Show
>DODEFAULT()
>suspend
>
>just curious. Right now however I'm at a loss. If I think of anything else I'll post. Hopefully someone else has a suggestion.

It displays as it should. But as soon as I got to Program, Resume, it goes away.

Ed
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform