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.

Image Name= and Imagesize= help

Featured Replies

When using "CASE" statements I often see different examples of the following:The "Image Name=" I understand this part of the statement identifies the Bitmap file that is to be used.What is the purpose of the "ImageSizes="? I have changed these values and they do not seem to make a difference, when I reloaded the gauge. I would have thought that it was the width and height of the Bitmap named in the first part of the statement.

  • Author
  • Moderator

ImageSizes= when used should be the same x,y as the source bitmap.However, strictly speaking I don't think the parameter is required any longer...

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

Thanks BillI made a gray rectangle, to use as the background of a gauge and I made it's "ImageSize=" the same as the background's bitmap size. In the "Case" part of the code, I want to place a "Switch" bitmap, so it shows up on the gauge's background, and can be toggled on and off. Other than redrawing the switch bitmap, is there a way to resize it when it draws on the panel?

I made the switch bitmaps smaller and now they look good.Thanks for your help.

  • Author
  • Moderator

Cool. Yes, you do have to have all the artwork scaled correctly... ;)

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.