May 11, 200818 yr 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.
May 11, 200818 yr 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
May 11, 200818 yr 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?
May 11, 200818 yr 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