On 5/17/12 12:26 PM, Ed Leafe wrote: > On May 17, 2012, at 2:21 PM, Paul McNett wrote: > >> Can you explain why you need to temporarily set the form's visibility to >> True? It is >> messing up my app by showing some modal forms I initially instantiate as >> hidden, at >> least on Linux and Mac. > > Because the ShowFullScreen() call doesn't do anything on hidden windows. > > Try this: define non-maximized form, run it, maximize it, then close it > while maximized. Now run it again: if the form is not visible, it will not > get maximized, and when you subsequently show it, it will be the original > normal size, not the saved window state.
Can we move setting the restored state to when the window is shown instead of instantiated do you think? Paul _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev Searchable Archives: http://leafe.com/archives/search/dabo-dev This message: http://leafe.com/archives/byMID/[email protected]
