Ok, I've the background picture of a fom is 320*240 pixels exactly. I want the form's edges to fit around this perfectly...which they do on my machine... but as soon as I run it on a machine with a different screen resolution the form is now the wrong size for the picture.

How's the best way to resize the form to fit better? I though it would be something like:

scalewidth = twipsperpixelx * 320
scaleheight = twipsperpixely * 240

but it doesn't seem to work properly. Any bright ideas?