Consultor Eletrônico



Kbase P88453: SmartWindow gets scrollbars on page change
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/19/2009
Status: Unverified

SYMPTOM(s):

SmartWindow gets scrollbars on page change

Scrollbars appear when running viewPage()

SmartWindow is being resized (programmatically or through user interaction) to smaller than original size

viewPage() is run after the resize occurs

FACT(s) (Environment):

Windows
OpenEdge 10.0x
OpenEdge 10.1A
OpenEdge 10.1B

CAUSE:

Bug# OE00108044

CAUSE:

OpenEdge 10.0A ADM2 code enhancements introduced to improve the look and feel of paging containers caused this issue because the frame SCROLLABLE attribute is TRUE unless explicitly set to FALSE. Under these circumstances, the frame will be sized to the window's current size. As this is smaller than the original size, the virtual width and height of the frame exceed its actual width and height causing the scrollbars to appear.

FIX:

Upgrade to OpenEdge 10.1C or later. If the uupgrade to OpenEdge 10.1C or later is not feasible, then set the SCROLLABLE attribute to FALSE for the frame of the SmartWindow in an initializeObject override.