>>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.
Hi Sam,
It doesn't help much because you didn't provide definion of "lbl" class. What non-default properties/methods it has?
--sb--