Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Forms cannot be released normally. Why?
Message
De
07/09/1998 13:55:03
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
07/09/1998 13:19:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00133827
Message ID:
00133831
Vues:
13
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform