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.

Gauge Problem

Featured Replies

I am creating a gauge in which I want an element to rotate in response to mouse clicks but it doesn't. I see the differwnt cursors in the correct place but clicking has no effect. What am I doing wrong?Key snippets follow.For the element: (L:SetHeading, deg) dnorFor the mouse: Compass Heading(%((L:SetHeading, degrees))%!d!)(L:SetHeading, degrees) 1 - (>L:SetHeading, deg)(L:SetHeading, degrees) 1 + (>L:SetHeading, deg)

Gerry Howard

Hi,"deg" is not a valid unit; should be "degrees". Something like: (L:SetHeading, degrees) 1 - dnor (>L:SetHeading, degrees) (L:SetHeading, degrees) 1 + dnor (>L:SetHeading, degrees) and (L:SetHeading, degrees) etc..Tom

  • Author

Thanks. I made the changes you suggested but the gauge still doesn't work.

Gerry Howard

Well, you might try: (L:SetHeading, radians)( discarded)If this doesn't work, you should review the code for a "hidden" typo, a bad def, or anything else I can't spot on at first sight.Tom

  • Author

My fault - there was a typo! It now works perfectly.

Gerry Howard

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.