
Originally Posted by
Ajax
So what you mean is you want to resize the image control based on the available screen size/shape?
I suggest you would use the form resize event which compares the insidewidth of the form, adjusted for any left/right margins you need to allow for, divided by the number of image controls (this gives you a 'max width' for a control) with the insideheight of the form, less any margins, then set the control height and width properties to the lower of the two and the left property to the sum of the widths of the controls to the left, less any left margin. You could look at the .move action to set these all in one.