Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Subclassed form WindowState = 1 (in top) created form = 0
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement