>>
>>_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)