Changing the order of canvases

BlitzMax Forums/MaxGUI Module/Changing the order of canvases

Nate the Great(Posted 2012) [#1]
I have a simple window with two overlapping canvases. I can't seem to figure out how to change the order they are drawn in but I am pretty sure I remember doing something similar before. Does anyone know how I would do this?


skn3(Posted 2012) [#2]
You should avoid overlapping canvases. Your best option would be to have one big canvas and fill the empty space with the default os color. Another hacky option is to float a canvas contained in a window. You would however have to manually reposition this window.


Nate the Great(Posted 2012) [#3]
so is there any way to re-order the objects in a window?


skn3(Posted 2012) [#4]
Short answer is no. What are you trying to do?


Nate the Great(Posted 2012) [#5]
I have just started messing around with max GUI again for no real reason and was just curious. All I was trying to do was change the order that tgadgets were rendered within a window with no real reason besides experimentation and I seem to remember doing it a long time ago. It might have been with another GUI mod though.


skn3(Posted 2012) [#6]
It could have been b+ I think that might have had a userlib to do it?