MDI Child Forms hide themselves

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?anAybXNmdA==?=

    MDI Child Forms hide themselves

    If one of my MDI Child Forms (ChildForm1) needs to pull data from the SQL
    Server, I set the Child Form's Enabled state to false, pull the data, then
    set Enabled back to true.

    It looks really neat unless my MDI Container has 2 or more forms up and
    running at WindowState Maximized. In this case, the next Child Form pulls to
    the front like I called ChildForm2.Brin gToFront() or ChildForm1.Send ToBack().

    I can tell the MDI Child Form to BringToFront() after the query has
    returned, but the form will forget its WindowState (Maximized or location).

    How would I make this look more professional?
Working...