Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modal form moving losing focus immediately
Message
From
24/04/2001 03:03:58
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
24/04/2001 02:45:52
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00498791
Message ID:
00498872
Views:
12
>>>>Hi Arne:
>>>>
>>>>Did you try
>>>>DO FORM xxx WITH a,i TO varx
>>>>
>>>
>>>Mario,
>>>
>>>thanks for responding but that't not the problem (returning a parameter back to the calling form). The problem is that the xxx form does not retain the focus even though it appears that it should.
>>>
>>>Anyone else have a suggestion?
>>>
>>>-Arne
>>
>>Is your form a top level form? Top level forms can't be modal.
>
>Fred,
>
>well, since form xxx is spawned from another form with DO FORM, then by definition it cannot be a Top Level Form, right? For what it's worth, when I set the form to WindowType=0 (modeless), it behaved precisely the same way. Explicitly setting it to modal again made no difference. I'm really at a loss now, because this behaviour appears to fly in the face of the docs. I'm going to try the form as is under VFP5 just for kicks and see what it does. Something tells me that the form is "sticking" in modeless 'mode'.
>
>Any other thoughts?
>
>-Arne

Arne,
I couldn't understand by which definition it can't be a top level form. I think Fred is right there. Just to debug could you check its windowtype and showwindow properties.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform