View Single Post
  #5 (permalink)  
Old 10-18-2009, 01:01 PM
klaus's Avatar
klaus klaus is offline
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Fully, Switzerland
Posts: 4,458
Awards Showcase
Forum Contributer Beta Tester Competition Winner 
Total Awards: 3
Default

Answers to your questions:

Quote:
1) When Auto Scale is used, all references to pixels in the code are doubled, e.g. length and width used in the image library, radius in a circle, column width in a table, etc. Is that correct?
Yes, the program acts as the screen size were QVGA

Quote:
2) I define a bitmap in the code of 40 * 40, which is blown up using Auto Scale to 80 * 80. When I read a image file of 40 * 40 into that bitmap, what happens? Does it fill 1/4 of the bitmap or the whole bitmap?
The 40 * 40 pixel image will be stretched up to 80 * 80 pixels.

Quote:
3) I assign an image to an image button. Will the image fill the whole button or not?
The whole button will be filled.

Quote:
4) With 'taking advantage' you just mean have better picture quality or are there more advantages?
Better image quality. With AutoScale, as stated in point 1, the program acts as if the screen size were QVGA.
The better image quality has also it's side effects that is occupied memory which is 4 times more in VGA than in QVGA.

Quote:
5) When I change via Tools the form width and height to 800 * 480, the form width and height indicated on the right side still are 240 * 264. Are these different things?
This seems beeing an error in the IDE, I had never noticed that.
When you place controls onto the form the coordinates are correct.

Attached 2 images:
240 * 400 AutoScale compiled ImageButton 17 * 17 Image 120 * 161
480 * 800 Normal compiled 34 * 34 Image 240 * 322

Best regards.
Attached Images
File Type: jpg Screen240_400.JPG (27.0 KB, 59 views)
File Type: jpg Screen480_800.JPG (30.4 KB, 53 views)
__________________
Klaus
Switzerland

Beginner's Guide / User's Guide
Reply With Quote