Hello Andrew,

> Insert an image control into a form and associate the control to a field 
> in the database.
> 
> The image control has a specific size. If the control displays an image 
> with a different aspect ratio, then the image may be severely distorted.
> 
> Any thoughts on how to avoid this?

Set the "Scale image" property to "no" and ensure all images in the DB
are smaller than the control size.

(Sorry if this is a dumb hint. You didn't mention whether you knew the
property, so I thought I mention it.)

Ciao
Frank

PS: Alternatively ... write a small patch which enables the control to
scale the image by keeping its ratio :).
Seriously: Is anybody aware of an RFE for this?

-- 
- Frank Schönheit, Software Engineer         [EMAIL PROTECTED] -
- Sun Microsystems                      http://www.sun.com/staroffice -
- OpenOffice.org Base                       http://dba.openoffice.org -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to