Kbase 30236: Error 4028 Migrating a GUI Application
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  25/01/2001 |
|
Solution ID: P236
FACT(s) (Environment):
Progress 4GL
SYMPTOM(s):
GUI
Error: **<widget name> will not fit in FRAME <frame name> in PROGRAM . (4028)
Migrating an application from one Progress version to another
Application was developed on a 32-bit Progress version (8.2x or later)
Application is being migrated to a 32-bit Progress version (8.2x or later)
FIX:
Ensure that the font settings in both versions are the same.
If you still get Error 4028, one possible solution might be to modify the default window settings.
For example, change the following section of the default Progress.ini from:
[Default Window]
;x=
;y=
;rows=
;columns=
to:
[Default Window]
;x=
;y=
;rows=
columns=82
Tests performed on window's GUI client show that the width of a default frame or default window must be at least 2 characters wider/higher than its widest/highest child widget if a fixed font is used, and 3 characters wider/higher if a proportional font is used.
In case you prefer not to use a progress.initialization file (Progress.ini file) to initialize your session, you can modify the Registry to add a new key called "Default Window". This new key includes a string called "columns" and sets its size to be greater than the biggest frame in your application.