Top Level forms are never Modal. WindowType property is ignored.
>I have a form class with ShowWindow set to 2 (top level form).
>The form is modal also.
>
>The form is instantiated with:
>
>
>PUBLIC oForm
>SET CLASSLIB TO Classes\sch_forms ADDITIVE
>oForm = CREATEOBJECT("invoice")
>oForm.Show()
>
>
>The form appears, then disappears. Can't figure out why.
>
>Anyone?
Regards,
Mike
"We try to solve the problem by rushing through the design process so that enough time is left at the end to uncover the errors that were made because we rushed through the design process."
- Glenford Myers
If you're going through hell, keep going. - Walt Disney