Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Panel Help Please

Featured Replies

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.

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..."

  • 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.

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

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>

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

  • 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.

  • 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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.