Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
As I gaze upon the grave I consider my MODALITY
Message
From
21/10/2003 17:51:43
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00840843
Message ID:
00840860
Views:
13
Thanks Larry,

It seems you are tatally correct and I need a swift kick in th a*s! the _screen was not visible upon instanciation - there was no form into which this one could intaciate.

Thanks

Ps (I am in the KIA position...sigh)


>Glenn,
>AFAIK, the only setting that affects modality is the ShowWindow property. If set to 2 (As Top-level), VFP will coerce the WindowType property to 0.
>
>Are you sure the form is instantiating? If you aren't seeing anything, then the form may not be instatiating at all. If it is, then you should at least see it flash.
>
>Regards.
>
>>What xconditions can (will) prevent a form class from being modal?
>>
>>
>>loform = create('aModalForm')
>>loform.show(1)
>>loform = ''
>>
>>define class aModalForm as form
>>ShowWindow = 1
>>WindowType = 1
>>
>>Function QueryUnload
>>  This.Visible = .f.
>>endfun
>>
>>enddefine
>>
>>
>>This is not the same environment as that which is preventing Modality but this represents the override form settings which are employed.
>>At the time of instanciation the screen is not showing and there are no other forms open. There is a complex environment but I do not know what to look for.
>>
>>I just need some ideas as to what can prevent modality.
>>
>>Thanks
>>
>>Glenn
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform