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.

FS9 Panel Ident

Featured Replies

Hello.

I'm hoping someone can answer this for me.

I'm trying to add an icon to open and close a new gauge.  I thought I knew how to do this but apparently I only know half of it.

I have decided to try and use the "500_X" icon from the cpt.icons.cab file.  I have added the icon and gauge to the panel.  The gauge opens fine when selecting it from the menu, but when I click the icon it opens a different item.  I'm pretty sure this has something to do with the "ident" line but I can't get it right.

Can anyone help me figure this out?

From the cpt.icons gauge:

<Click>500 (&gt;K:PANEL_ID_TOGGLE)</Click>

The ident value from the panel window description in panel.cfg has to match the value you are sending to the PANEL_ID_TOGGLE function.

In this case, your panel window has to have an ident value of 500, or you need to change the code, as quoted above, to match the ident value in panel.cfg.

Note that you cannot use the text macro values you sometimes see in panel.cfg as ident values in xml code.  This will not work:

<Click>THROTTLE_PANEL (&gt;K:PANEL_ID_TOGGLE)</Click>

 

Doug

  • Author

Thank you!

Archived

This topic is now archived and is closed to further replies.

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.