Consultor Eletrônico



Kbase P96842: Version 8 browse aligns columns differently when run in version 9
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   29/01/2008
Status: Unverified

FACT(s) (Environment):

Progress 8.x
Progress 9.x
OpenEdge 10.x

SYMPTOM(s):

Columns don't align correctly in browse.

Browse alignment problem seen in Progress 9.x and OpenEdge 10.x

Browse alignment problem does not exist in Progress 8.x

Browse originally developed in Progress 8.x

Each column is one pixel smaller.

UseV8BrowseSize is set to true.

CAUSE:

Enhancement request# 20041027-024

FIX:

This enhancement has not been implemented in the product.
You can correct the alignment problem by adding one to the pixel width of each column before the browse is realized.
Example:
DEFINE VARIABLE h AS HANDLE NO-UNDO.
ASSIGN h = BROWSE {&BROWSE-NAME}:FIRST-COLUMN.
DO WHILE VALID-HANDLE(h) WITH FRAME {&FRAME-NAME}:
ASSIGN h:WIDTH-PIXELS = h:WIDTH-PIXELS + 1
h = h:NEXT-COLUMN .
END.