Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
2 modeless forms - one appears behind the other
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
00965798
Message ID:
00966261
Views:
7
>>Hi everybody,
>>
>>I have a modeless form which calls another modeless form with "do form" syntax. On my Windows XP computer the form doesn't show up on front (it's hidden behind the first form). I didn't have the same problem with Windows 2000. What's the solution for this problem?
>>
>>
>>Thanks a lot in advance.
>
>Have you tried?
DO FORM myform.scx NAME oForm NOSHOW
>oForm.Show
Hi George,

I just found, that this code doesn't work (returns an error) if the second form returns .f. from the Init. Anyway, it's easy to fix this code adding if vartype(m.toForm)="O" condition.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform