Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is it a bug?
Message
De
25/03/2004 15:21:39
 
 
À
23/03/2004 14:14:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00888865
Message ID:
00889761
Vues:
30
>Hello Kevin.
>
> The problem I am having is maybe about 1 out of 5 times the second form I have up over top of the main one will move to the back where I cannot do anything with it, still loaded, but now I have my main form up with different menus and such and if I try to go back into the second form, it is already open so I get errors there too.
>
>I take it that the second form is modal and has AlwaysOnTop set to true? If so, set AlwaysOnTop to false and put this code in your base form class's activate():
>
>
>IF This.WindowType = 1 &&Modal
>  This.AlwaysOnTop = .T.
>  This.AlwaysOnTop = .F.
>ENDIF
>
That seems to be working for it. I am still not understanding why I would need to set those properties and why the actions are random, but forcing the ontop/onbottom properties seems to work fine. It is funny how many properties I have not needed to use over the many years of coding. Maybe someday I should roll down all of them and look at the discriptions on what they do. Anyways, thanks
``` Appreciate a normal day, it is always better than a bad one ```

Kev
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform