Windows going out of the Main Window

Hi All,

How should I make my desktop app act like a single app by avoiding windows called inside the Main Window be able to move out of the Main Window? I used NewWindow.ShowWithin(MainWindow), and tried a couple of Frame Types for NewWindow, still fail.


Thats the MDI Window method.
The parent window is an MDI window and document windows are children of that.
But very few developers, including Microsoft, uses that model these days.
If you make your app multi-platform it will probably cause you trouble on Mac or Linux.

(Oddly, the tabbed views now being imposed by Apple, feel like a kind of MDI. But like turning on ‘full screen’ all the windows are the same size, which is a real nuisance)

Alternatively you could consider using a pagapanel-control on the main-window.