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.

Reset panel positions

Featured Replies

Hi folks,Is there a way to reset the positions of all (or individual) panels to their panel.cfg positions without reloading the aircraft? Ideally I would have this function coded as a clickspot somewhere on the panel...Thanks,Geoff

  • Author
If you're using C, the following works:-KEY_CONTROL_RELOAD_USER_AIRCRAFTThe downside of this command is that if you have modified the size of the forward external window, it will also be reset to the default height/width.-Dai
Thanks for the reply. Actually using XML... and doing so at the most basic level, I'm a proper newbie at this! So is there an XML equivalent?Actually, does that really only reset the panel positions without interfering withj anything else? I would have thought that this command (based on it's name) would have done more than just reposition the panels - almost an equivalent of "ALT, A, A, Enter" through the FS9 menus - I definately do not want the command to reset the gauges in any way!!Geoff
Hi folks,Is there a way to reset the positions of all (or individual) panels to their panel.cfg positions without reloading the aircraft? Ideally I would have this function coded as a clickspot somewhere on the panel...Thanks,Geoff
You can go into settings and set the reload aircraft key combination. I believe I have it as CTRL-F11. You also can make an xml panel gauge to reload the aircraft by calling up the reload aircraft code. Regards,Bob.
  • Author
You can go into settings and set the reload aircraft key combination. I believe I have it as CTRL-F11. You also can make an xml panel gauge to reload the aircraft by calling up the reload aircraft code. Regards,Bob.
I probably didn't make it clear before - resetting the aircraft is NOT what I want to achieve. I have a panel which is made up of overlayed sub-panels in order to achieve custom lighting etc. The problem is that sometimes a but of stray mouse click+movement drags or resizes part of a sub-panel which then is out of allignment and therefor rather ugly. Obviously I can just try to drag it back but I was wondering if I could build in a "re-allign" clickspot to position the panels on the screen to their set positions from the panel.cfg file (or just positions coded into the gauge). Resetting the aircraft will reset gauges within the panel so is of no use to me!Cheers,Geoff
  • Moderator

Why not simply lock the popup panels to prevent them moving to begin with?child_3d=1This indicates that the window is part of the 3D scene, and cannot be undocked or dragged around the screen.

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator
I probably didn't make it clear before - resetting the aircraft is NOT what I want to achieve. I have a panel which is made up of overlayed sub-panels in order to achieve custom lighting etc. The problem is that sometimes a but of stray mouse click+movement drags or resizes part of a sub-panel which then is out of allignment and therefor rather ugly. Obviously I can just try to drag it back but I was wondering if I could build in a "re-allign" clickspot to position the panels on the screen to their set positions from the panel.cfg file (or just positions coded into the gauge). Resetting the aircraft will reset gauges within the panel so is of no use to me!Cheers,Geoff
OK. I understand. Regards, Bob.
  • Author
Why not simply lock the popup panels to prevent them moving to begin with?child_3d=1This indicates that the window is part of the 3D scene, and cannot be undocked or dragged around the screen.
...well, erm... because I didn't know that is what that command was for - I thought it was a VC thing.Thanks very much for the help - I'll try it out :)Geoff
  • Author
Why not simply lock the popup panels to prevent them moving to begin with?child_3d=1This indicates that the window is part of the 3D scene, and cannot be undocked or dragged around the screen.
There is a problem with this command. If I add the line "child_3d=1" to any of my [windowXX] sections that panel then does not appear (or worse, the sim crashes to desktop)...A typical entry from my panel.cfg is the following:[Window15]Background_color=0,0,0size_mm=1152,864window_size_ratio=1.000 visible=0ident=202zorder=8update_rate=20window_size= 0.50, 1.000window_pos= 0.237, 0.00child_3d=1 <<-------------- without this, the panel is showngauge00=GC_BAe_Stuff!GC_BAe_Ovhd_Overlay, 0,0,1152,864Have I done something incorrectly?Geoff
  • Moderator

Oh. It's probably a case of the zorder value conflicting with the child_3d entry. Oops! :( Ah well, it was worth a try! Too bad it won't work... :(

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

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.