Consultor Eletrônico



Kbase P3979: Image Widget STRETCH-TO-FIT does not work
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   28/10/2009
Status: Verified

SYMPTOM(s):

The STRETCH-TO-FIT attribute does not work

Using static image widget with filename for image included in definition

The image widget is not resized to fit the Entire image

Image gets cropped

FACT(s) (Environment):

Progress 9.1x
OpenEdge 10.x
Windows NT 32 Intel/Windows 2000

CAUSE:

Bug# OE00061057

FIX:

There are 3 different ways to workaround this:

1) Remove the SIZE phrase from the DEFINE IMAGE statement.

eg.: DEFINE IMAGE IMAGE-1
FILENAME "image.bmp":U
STRETCH-TO-FIT RETAIN-SHAPE
/* SIZE 71 BY 13.1 */.

2) Add a LOAD_IMAGE method.

eg.: IMAGE-1:LOAD-IMAGE("image.bmp").

3) Use a MS Forms Image OCX or other 3rd party image control.