Image width on VGA device

agraham

Expert
Licensed User
If I download a sbp file from my desktop to my Diamond I find that the width of a 200 wide by 200 high Image control magically increases to 201! This happens without entering the Designer

If I start a new project on the device, add a Form, add an Image and set it to 200 x 200 I find on exiting the Designer that the width has increased to 201. In fact this happens for any value of width, it ends up with 1 added to it! As I enter exit and re-enter the Designer the width keeps getting incremented without my doing anything except look at the Image properties as long as I say yes to save the (non) changes! Height seems unaffected. This doesn't seem to happen on my non-VGA Axim X30.
 

Mr_Gee

Active Member
Licensed User
I think you should get the "exceptional services" medal
for you investigative work
 
Last edited:

agraham

Expert
Licensed User
investigative work
I didn't have to investigate far to find this as my demo app crashed on the device but not on the desktop so I sort of "fell over" it - or rather my code did! :)

PS. My new medal seems to be broken :(
 

Filippo

Expert
Licensed User
Hi agraham,
If I download a sbp file from my desktop to my Diamond I find that the width of a 200 wide by 200 high Image control magically increases to 201! This happens without entering the Designer

If I start a new project on the device, add a Form, add an Image and set it to 200 x 200 I find on exiting the Designer that the width has increased to 201. In fact this happens for any value of width, it ends up with 1 added to it! As I enter exit and re-enter the Designer the width keeps getting incremented without my doing anything except look at the Image properties as long as I say yes to save the (non) changes! Height seems unaffected. This doesn't seem to happen on my non-VGA Axim X30.
funny, I just tried it and it is really so! :confused:
 

Erel

Administrator
Staff member
Licensed User
Thanks agraham.
I will check it. And you really deserve such a medal...
 

Cableguy

Expert
Licensed User
This behavior also exists if we create an image control and "duplicate" the control.
The resultant control, the duplicate, as its width increased by 1.
I noticed this when trying to create my simplistic Auto-Adjust module, a few weeks ago..., but thought it was my device going nuts...So I re-flashed it..but never tryied it again since..
 
Top