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.

Disappearing panel windows

Featured Replies

On most of my aircraft I've created custom GPS and radio panel windows that are nicely positioned and large enough to interact with. I use the virtual cockpit and like to keep the GPS and radio windows open sometimes, but the problem is every time I switch between cockpit and outside views the windows disappear. Is there a way to keep them open until toggled off?

  • Moderator

Right-click and choose "undock"...

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator
  • Author

Right-click and choose "undock"...

 

Thanks for the response. That's pretty much what I want to do, except undocking the windows puts a border and title bar around them. I've spent a lot of time getting the windows perfectly sized and positioned so they are easily accessable, yet unobtrusive. The borders and title bars around them don't look good at all and block part of the view. Plus, I would like for it to happen every time automatically.

 

I was kind of hoping for some kind of command I could put in the panel,cfg file where the options like window size and position are listed. I'll try undock=1 :-)

Is there a way to keep them open until toggled off?

 

Although it is possible to do what you want, you would need to write a lot of code to handle all the possible variants when changing views in FSX, and I doubt it's worth the effort.

 

Tom

  • 2 weeks later...
Is there a way to keep them open until toggled off?
I can't help with the rest of your query, but, a simple panel.cfg edit/addition in a window description works for that.

 

[WindowXX]

...

...

type=SPECIAL

 

That keeps that window open until you decide otherwise...Don

  • Author

I can't help with the rest of your query, but, a simple panel.cfg edit/addition in a window description works for that.

 

[WindowXX]

...

...

type=SPECIAL

 

That keeps that window open until you decide otherwise...Don

 

Don, thank you so much!!

 

That does exactly what I wanted to do.

If you want your FSX 2d panel to only show in the VC and have Doug Dawson's sound gauge installed you can use this code:-

 

Make a gauge in VC 1

 

<Element id="2Dshow">
		 <Select id="Select0">
		 <Expression id="Expression">
			 <Script>
 (L:AutopilotPanelContrl,bool) (L:ViewSystemStatus,number) 2 == and 0 > d (L:APwindowONSecs,number) * (>L:APwindowONSecs,number) (P:absolute time, number) 1 > d (L:APwindowONSecs,number) + 3 min (>L:APwindowONSecs,number) * ! (L:APwindowONSecs,number) 2 > || ! if{ 10070 (>K:PANEL_ID_TOGGLE) }
			 </Script>
		 </Expression>
	 </Select>
 </Element>

 

Make an icon on the VC panel (this will only open the 2D panel)

 

<MouseArea id="Gauge_2Dpanel_OPEN">
		 <FloatPosition>0.000,0.000</FloatPosition>
		 <Size>20,20</Size>
		 <CursorType>Hand</CursorType>
		 <MouseClick id="MouseClick">
			 <Script>
		 (M:Event) 'LeftSingle' scmp 0 == if{ 1 (>L:AutopilotPanelContrl,bool) }
	 </Script>
			 <ClickType>LeftSingle+LeftRelease</ClickType>
			 </MouseClick>
			 </MouseArea>

 

Make an Icon or clickspot on your 2D panel (this will only close the 2D panel)

 

<MouseArea id="Gauge_2Dpanel_CLOSE">
		 <FloatPosition>0.000,0.000</FloatPosition>
		 <Size>50,50</Size>
		 <CursorType>Hand</CursorType>
		 <MouseClick id="MouseClick">
			 <Script>(M:Event) 'LeftSingle' scmi 0 == if{ 10070 (>K:PANEL_ID_TOGGLE) 0 (>L:AutopilotPanelContrl,bool) }
			 </Script>
			 <ClickType>LeftSingle</ClickType>
		 </MouseClick>
	 </MouseArea>

 

Make an icon on the VC panel to open & close

 

(L:AutopilotPanelContrl,bool) if{ 0 (>L:AutopilotPanelContrl,bool) 795 (>K:PANEL_ID_TOGGLE) quit } 1 (>L:AutopilotPanelContrl,bool)

 

 

Only tested on one 2D panel but should work on more. I did find in testing I lost the (L:ViewSystemStatus,number) 2 == value after lots of recoding but it could be OK now with this stable code.

Paul EGLD

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.