Kbase P118534: How to resize an image?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  16/10/2008 |
|
Status: Unverified
GOAL:
How to resize an image?
GOAL:
How to use STRETCH-TO-FIT attribute?
GOAL:
How to resize an image every time it is loaded?
FIX:
The STRETCH-TO-FIT image widget attribute forces the image to expand or contract to fit within the image widget's boundaries and It can be used as follow:
image-1:STRETCH-TO-FIT = YES.
image-1:WIDTH-CHARS = 15.
image-1:HEIGHT-CHARS = 5.
image-1:LOAD-IMAGE("image1.jpg").
MESSAGE "pause"
VIEW-AS ALERT-BOX INFO BUTTONS OK.
image-1:WIDTH-CHARS = 15.
image-1:HEIGHT-CHARS = 5.
image-1:LOAD-IMAGE("image2.jpg").