Kbase P18020: How to dynamically size an editor widget in Character mode.
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  11/25/2003 |
|
Status: Unverified
GOAL:
How to dynamically size an editor widget in Character mode.
FACT(s) (Environment):
Windows
FIX:
DEFINE FRAME A
itemname SKIP
catdescription.
FRAME A:WIDTH-CHARS = 75.
FRAME A:HEIGHT-CHARS = 15.
FOR EACH ITEM WITH FRAME A:
ASSIGN catdescription:WIDTH-CHARS = 74.
ASSIGN catdescription:HEIGHT-CHARS = (LENGTH(catdescription) / 74).
DISPLAY ITEMname catdescription.
END.