June 11, 201213 yr I have a panel with a Pilot and Copilot window. When I use an icon to open a sub-panel in the Pilot window the sub-panel shows up on top of the main panel which is what want. When I use the same icon to open a sub-panel in the Copilot window the sub-panel shows up behind of the main panel. How can I get the sub-panel to show up in front of both windows? Thanks, Bob.
June 12, 201213 yr Try zorder=.. [Window00] ......... zorder=0 ident="pilot" [Window01] ......... zorder=1 ident="copilot" [Window02] ......... zorder=2 ident="sub" Hope it helps, Jan "Beatus ille qui procul negotiis..."
June 12, 201213 yr Author Hi Jan. OK. Thanks. If I follow that then all the subpanels will all appear over both the main and copilot panels, I assume. I'll give it a try. I appreciate the help. Regards, Bob.
June 12, 201213 yr Hi Bob, I hope you are doing OK ? What Jan proposed works. And yes, all the sub panels with the zorder=2 are showing up over the main and your co-pilot window. Have a nice day. Best Dietmar
June 12, 201213 yr Bob I use the following Icon code in my F-111 Pig HUD panel to swap from Pilot to WSO. I have it in both panels to enable back and forth toggle. Cheers Karol <Gauge Name="Panel Icon" Version="1.0"> //for F-111 by Karol Chlebowski @2009** <Image Name="Icon_Panel.bmp" ImageSizes="59,19,30,30"/> <Mouse> <Tooltip>Toggle Co-Pilot's Window</Tooltip> <Cursor Type="Hand"/> <Click>400 (>K:PANEL_ID_TOGGLE) 1 (>K:PANEL_ID_TOGGLE) (L:Viewpoint,bool) ! (>L:Viewpoint,bool)</Click> </Mouse> //the 400 = ident in panel cfg ** </Gauge>
June 12, 201213 yr Bob 1. As above I use the Icon to switch Pilot to WSO in much the same way as the Enum toggle function. 2. Use zorder for pop up windows. 3. When I require more than 9 pop up windows , say for example 25 pop up windows for instrument development and testing. I create what I call " Icon Central " where one window ( Shift X ) will contain the 25 Icons , thereby enabling any of those 25 pop ups to be called up without running out of or being limited by Shift X restrictions. Cheers Karol
June 12, 201213 yr Author Hi Bob, I hope you are doing OK ? What Jan proposed works. And yes, all the sub panels with the zorder=2 are showing up over the main and your co-pilot window. Have a nice day. Best Dietmar Hi Dietmar. I am doing OK now, thanks. I appreciate the help. Best regards, Bob. Bob I use the following Icon code in my F-111 Pig HUD panel to swap from Pilot to WSO. I have it in both panels to enable back and forth toggle. Cheers Karol <Gauge Name="Panel Icon" Version="1.0"> //for F-111 by Karol Chlebowski @2009** <Image Name="Icon_Panel.bmp" ImageSizes="59,19,30,30"/> <Mouse> <Tooltip>Toggle Co-Pilot's Window</Tooltip> <Cursor Type="Hand"/> <Click>400 (>K:PANEL_ID_TOGGLE) 1 (>K:PANEL_ID_TOGGLE) (L:Viewpoint,bool) ! (>L:Viewpoint,bool)</Click> </Mouse> //the 400 = ident in panel cfg ** </Gauge> Hi Karol. Thanks. I'll save that. Best regards, Bob.
June 12, 201213 yr Author Thanks to all that answered me with GREAT help! I now have it working right. I never did understand zorder before. Best regards to all, bob.
Create an account or sign in to comment