General information
Category:
Forms & Form designer
Title:
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
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only