Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Subclassed form WindowState = 1 (in top) created form = 0
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Subclassed form WindowState = 1 (in top) created form = 0
Divers
Thread ID:
00122141
Message ID:
00122141
Vues:
48
I have a form class definition called frmMenu. It has it's .ShowWindow property set to 1 = (In Top-Level form). The application runs in a form marked 2 (Top Level). I am doing a DO FORM xxx NOSHOW of a form that is subclassed from frmMenu to an array and "show" the form at some other time. I am finding that the form that I'm trying to show has it's .ShowWindow property = 0 and that the form is displayed, but behind my top level window. It changes this property regardless of whether I create the form with DO FORM or CREATEOBJECT("frmMenu"). What is causing this property to change when the class that it is derived from indicates a 1? As .ShowWindow is read only at runtime, I can't change this to get my form to show in the top level form where it belongs.

Thanks,
Steve
Répondre
Fil
Voir

Click here to load this message in the networking platform