Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Forms cannot be released normally. Why?
Message
From
07/09/1998 13:55:03
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
07/09/1998 13:19:14
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00133827
Message ID:
00133831
Views:
14
>My problem is:
>
>Two formsets are activated with DO Formset1 and DO Formset2 command. Every formset contains a form and a tooltbar. The WindowType of them are set to modeless.
>
>Then a form is activated with DO Form3 command. The WindowType of Form3 is set to modal.
>
>DO logout command I specify in ON SHUTDOWN is executed if I exit my application. The code is:
>FOR i = 1 TO _SCREEN.FormCount
> .
> .
> .
> _SCREEN.ActiveForm.Release
> .
> .
>ENDFOR
>
>Now Form3 is frontmost, it is released normally, but Formset2 and Formset1 cannot.
>
>If I set Form3 to modeless, Formset2 and Formset1 can be released normally.
>
>Why? Because Form3 must be set to modal, so how can I do?
>
>Thanks in advance.
Try changing the code to :
FOR i = 1 TO _SCREEN.FormCount
 _SCREEN.forms(i).Release
ENDFOR
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