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.

Dynamic Mouse Areas...

Featured Replies

  • Moderator

I'll be dipped in lard and fried for chicken!I became aware of something I honestly have thought couldn't be done, that is to have Mouse Areas in an XML gauge be <Visible> on demand!"Let me 'splain Lucy..."I've been coding and scripting a mixed set of C gauges and XML "gauges" for ABACUS's forthcoming revision of the B787. There are four massive LCD screens on the main panel:PFD Pilot - ND/EICAS - MFD - PFD CopilotNow for the wide-screen version it is possible to have the PFD Pilot - ND/EICAS and MFD on screen all the time on the 2d panel. The problem I have is that the normal width 2d isn't wide enough, and part of the MFD would be "off screen."Well, I thought, wouldn't it be cool to have a reversionary mode where the ND/EICAS and MFD could be swapped in realtime! That would solve the problem.Swapping the screens is no big whoop, but swapping the Mouse Areas, that would be a problem. So, with some hesitation, I went ahead and cautiously tested an idea I had something last night when dreaming...What if I added a <Visible> condition to the Mouse Area(s)? Whould that work? Well, as it turns out it does work.......at least using FS9 XML syntax in FSX it does! Here is an example showing two identical Mouse Areas that are active depending on the value of (L:EICAS,bool)... ;D

<Area Left="222" Top="52" Width="168" Height="33">		<Visible>(L:B787 EICAS,bool) 0 ==</Visible>		<Cursor Type="Hand"/>		<Click Kind="LeftSingle">			1 (>L:B787 NDMapPlan, bool)			1 (>L:B787 NDFPL,bool)		</Click></Area><Area Left="222" Top="52" Width="168" Height="33">		<Visible>(L:B787 EICAS,bool) 1 ==</Visible>		<Tooltip>MENU Select</Tooltip>		<Cursor Type="Hand"/>		<Click Kind="LeftSingle">			(L:B787 Map2MenuActive,bool) ! (>L:B787 Map2MenuActive,bool)		</Click></Area>

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator
Bin using that for years Bill.....think FMC CDU keys. :(
Ed, and you only now confess it to the dear Fr. ???He is DEVASTATED!!!(not - I bet he got a thrill of "discovering" it for himself)
  • Author
  • Moderator
Bin using that for years Bill.....think FMC CDU keys. :(
Well, since I rarely - if every - think of FMC and XML at the same time... :(

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.