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.

Refreshing Panel

Featured Replies

Hi AllI am a beginner in XML. Is it possible to create a gauge which refreshes the panel each time you click it. I need it because it's a pain having to reload your aircraft every time you want to see a change in your gauge.Thanks

  • Moderator

FSX Version:

<Gauge Name="FSX Panel Reload" Version="1.0">   <Image Name="Reload Gauges.bmp" Bright="Yes"/>   <Mouse>	  <Area Left="0" Top="0" Width="13" Height="13">		 <Cursor Type="Hand"/>		 <Click>(>K:RELOAD_USER_AIRCRAFT)</Click>	  </Area>   </Mouse></Gauge>

FS9 Version:

<Gauge Name="Panel Reload" Version="1.0">   <Image Name="Reload Gauges.bmp" Bright="Yes" ImageSizes="20,20,0,0"/>   <Mouse>	  <Area Left="0" Top="0" Width="13" Height="13">		 <Cursor Type="Hand"/>		 <Click>(>K:RELOAD_PANELS)</Click>	  </Area>   </Mouse></Gauge>

Right-click on this image and Save As "Reload Gauges.bmp"reloadgauges.pngInstall this gauge anywhere on your 2d panel, and click ONCE after loading the a/c to "unlock" the XML gauges for editing.Click on this gauge after each edit/save of whatever XML script "gauge" on which you're woking.

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator
FSX Version:
<Gauge Name="FSX Panel Reload" Version="1.0">   <Image Name="Reload Gauges.bmp" Bright="Yes"/>   <Mouse>	  <Area Left="0" Top="0" Width="13" Height="13">		 <Cursor Type="Hand"/>		 <Click>(>K:RELOAD_USER_AIRCRAFT)</Click>	  </Area>   </Mouse></Gauge>

FS9 Version:

<Gauge Name="Panel Reload" Version="1.0">   <Image Name="Reload Gauges.bmp" Bright="Yes" ImageSizes="20,20,0,0"/>   <Mouse>	  <Area Left="0" Top="0" Width="13" Height="13">		 <Cursor Type="Hand"/>		 <Click>(>K:RELOAD_PANELS)</Click>	  </Area>   </Mouse></Gauge>

Right-click on this image and Save As "Reload Gauges.bmp"reloadgauges.pngInstall this gauge anywhere on your 2d panel, and click ONCE after loading the a/c to "unlock" the XML gauges for editing.Click on this gauge after each edit/save of whatever XML script "gauge" on which you're woking.

Hey thanks a lot to both of you :(The gauge is appearing but when I click it, it doesn't refresh the panel after I edited the panel.cfgAny suggestions?Regards
Hey thanks a lot to both of you :(The gauge is appearing but when I click it, it doesn't refresh the panel after I edited the panel.cfgAny suggestions?Regards
When you load up the aircraft that " Holds" the panel, click the reload "Panels" switch before doing mods... Once after that, the panel system is open for all the mods you want to do. A key to the whole deal..... If the windows popup comes up saying " cannot save because .......... " then the "reload panels" hasn't been hit before the 1st mod. No prob. hit he reload then save & reload again.Bill, really? you have to load the whole thing back up in FSX? just wondering.

20AUG21_Avsim_Sig.png?dl=1  FS RTWR   SHRS F-111   JoinFS   Little Navmap 
 

 

  • Moderator
Bill, really? you have to load the whole thing back up in FSX? just wondering.
Yes. It only takes a fraction longer, but the FS9 command simply will not work in FSX. That's why I have two versions... ;)I have Visual Studio running in my left monitor, and FSX or FS9 running on the center wide-screen monitor. It sure makes XML scripting so much faster. As quick as I Ctrl-S to save the latest changes and can click on the "R" button to reload, I see the results instantly... ;)

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator
  • Commercial Member

In FS9 anyway it works great to add the following lines to the [KEYBOARD_MAIN] section of the fs9.CFG:RELOAD_PANELS=82,11RELOAD_USER_AIRCRAFT=65,11Use "CTRL+SHIFT+R" for reload panels and "CTRL+SHIFT+A" for reload aircraft. With this you can do the reload on any aircraft without fiddling around with installing the reload gauge. Incidentally "reload panels" works great to unlock and then refresh after editing the xml gauge but won't do a thing if it's the panel.cfg you're editing. "Reload aircraft" might work occasionally to refresh after a panel.cfg edit but I've found it doesn't behave in exactly the same way as completely reloading the aircraft from the "select aircraft" menu which I've found to be necessary in most cases after a panel.cfg edit.Jim

In FS9 anyway it works great to add the following lines to the [KEYBOARD_MAIN] section of the fs9.CFG:RELOAD_PANELS=82,11RELOAD_USER_AIRCRAFT=65,11Use "CTRL+SHIFT+R" for reload panels and "CTRL+SHIFT+A" for reload aircraft. With this you can do the reload on any aircraft without fiddling around with installing the reload gauge. Incidentally "reload panels" works great to unlock and then refresh after editing the xml gauge but won't do a thing if it's the panel.cfg you're editing. "Reload aircraft" might work occasionally to refresh after a panel.cfg edit but I've found it doesn't behave in exactly the same way as completely reloading the aircraft from the "select aircraft" menu which I've found to be necessary in most cases after a panel.cfg edit.Jim
OK thanks Jim, I'll give that a tryRegardsPaul

OK, thanks guy! It's working perfectly nowOn a separate subject, I've made a gauge to switch between 2 windows, I would like to make the gauge invisible. Do I just make the gauge bmp pure black (RGB 0,0,0) to do this?Thank you

  • Moderator

Yep! That's the simplest way... :(

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator
Yep! That's the simplest way... :(
OK cheers, told you I'm a beginner LOL

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.