Swapping Window Parents

BlitzMax Forums/BlitzMax GUI Programming/Swapping Window Parents

but the whole point of re-parenting is the fact that all you need to do is point the child at a new parent, rather than having to completely rebuild everything, including states, list positions, etc.

You want to be able to do something like :
  myPanel.Reparent(newParentWindow)

One line of code...

MaxGUI isn't really designed for doing anything as complicated as this though... :-p



However, here's an example of BlitzMax doing just that : reparent_example.zip (1.3meg)

:-)