Kbase P14080: Multiple display devices and higher resolutions cause error 4132 in SmartObjects and tools
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  11/04/2008 |
|
Status: Verified
FACT(s) (Environment):
Progress 9.x
OpenEdge 10.0x
Dynamics
Windows
SYMPTOM(s):
Multiple display devices and high display resolutions cause error 4132
Horizontal resolution of display exceeds 1280 pixels
One of the following conditions applies:
Running an ADM2 application which uses the ADM2 smartToolbar.
Running a Dynamics application
Starting the Procedure Editor
Starting the AppBuilder
Opening a Window (.w file) in the AppBuilder
Opening a Dialog-Box in the AppBuilder
Opening a New Procedure window from AppBuilder
The following error occurs:
** Invalid character unit value <value>, Changed to 320. (4132)
CAUSE:
Bug# 20040302-007
FIX:
Upgrade to Progress 9.1E01 or later release.
Upgrade to OpenEdge 10.0B01 or later release.
If using Dynamics, upgrade to Dynamics 2.1B or later release
Alternatively, one way to work around the issue is to change the ADM2 (and Dynamics) source code to reference SESSION:HEIGHT and SESSION:WIDTH with NO-ERROR.
Please note that modifying the ADM2 source is neither recommended or supported. However, in cases where there is no alternative the following changes should be considered.
The code below is taken from toolbar.p and provided as an example only.
From:
IF dMinHeight > 0 AND dMinHeight < (SESSION:HEIGHT - 1) AND
dMinWidth > 0 AND dMinWidth < (SESSION:WIDTH - 1) AND
(hWindow:WIDTH < dMinWidth OR hWindow:HEIGHT < dMinHeight) THEN
To:
ASSIGN locWidth = SESSION:WIDTH NO-ERROR
locHeight = SESSION:HEIGHT NO-ERROR.
IF dMinHeight > 0 AND dMinHeight < (locHeight - 1) AND
dMinWidth > 0 AND dMinWidth < (locWidth - 1) AND
(hWindow:WIDTH < dMinWidth OR hWindow:HEIGHT < dMinHeight) THEN