What is correct way to setup the window z-index?
Aleksey Murushkin (Cloverleaf) (8233) 41 posts |
Hello. I have a main window with few controls in it and also nested toolbar as window at top of it. |
Alan Robertson (52) 420 posts |
It’s a bit unclear from your image which windows are actually nested inside your parent window, but I’ll try and help if I can.
I’m not sure if this helps or not. |
Will Ling (519) 98 posts |
If they are truly nested, where your child windows exist completely within the parent (like MS Windows MDI style), the wimp will handle moving the windows for you, and you won’t get other windows in between. |
Aleksey Murushkin (Cloverleaf) (8233) 41 posts |
I want to describe how it was done. This was created with toolbox. Here i put some screenshots with windows properties https://imgur.com/a/9h9rFNs.
Ideally i need to know the best and correct way how to make a window with the following layout: https://imgur.com/a/lzFQ0xt Thanks |
Will Ling (519) 98 posts |
In principle, that looks correct for using the Toolbox. As far as I can tell, setting the Toolbar options on the main window ( C ) with Auto Open set, and setting the Pane flag on the toolbar windows (A/B) should just work. |
Aleksey Murushkin (Cloverleaf) (8233) 41 posts |
For those who want to test the app can download it here https://riscoscloverleaf.com/downloads/ |
Will Ling (519) 98 posts |
Yes, I see the problem. |
Fred Graute (114) 645 posts |
It looks like the main chatroom window is being open at the back of the window stack (handle-to-open-behind = -2). With the Toolbox opening the toolbars at the front of the window stack (handle-to-open-behind = -1). Try unsetting the backdrop option in ‘other properties’ and opening the main chatroom window at the front of the window stack. Does that resolves the issue? I also notice that multiple instances of the ‘Not implemented’ window are being created that all appear to be the same. Marking the NotImplemen object as a shared object might be a good idea. |