>I have a form whose windowtype property is set to 1 = modal.
>However, when it is displayed using DO FORM, it always becomes modeless, its windowtype property = 0.
>Some datapoints:
>1. This form is twice subclassed from the base class form.
>2. The first subclass, in a class library, has a windowtype value of 0.
> However, whether it is set to 0 or 1, the form that inherits this one
> always ends up being 0 = modeless, even though its own windowtype value
> is initially 1.
>3. I've looked for calls to the form's show method with no parameters but don't see any that would change the windowtype.
>4. The form behaves the same way if it is changed to an object and instantiated using CREATEOBJECT.
>
>Any other ideas about how this could happen?
>
>Thanks,
>Howard
Check your ShowWindow property. If it is equal to 2 - As Top Level form, WindowType is ignored. Top level forms are always Modeless.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.