Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is the reason this won't work?
Message
From
29/06/2006 23:57:49
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP1
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01132930
Message ID:
01132973
Views:
16
>>
>>_Screen.NewObject("lblSizer", "lbl", This.ClassLibrary)
>>_Screen.lblSizer.AutoSize = .T.
>>
>>
>>When it executes the second statement, the whole application shuts down.
>>
>
>Can you post definion of "lbl" class?


It's a label object.

The code is actually this:

_Screen.NewObject("lblSizer", "lbl", This.ClassLibrary)
_Screen.lblSizer.Autosize = .F.
_Screen.lblSizer.caption = MyCursor.Msg
_Screen.lblSizer.AutoSize = .T.

Then KA-BOOM!!! the whole application shuts down.

Thanks Sergey.
The American Republic will endure, until politicians realize they can bribe the people with their own money.
- Alexis de Tocqueville

No man’s life, liberty, or property is safe while the legislature is in session.
– Mark Twain (1866)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform