Kbase P85333: Resizing browse column causes underlying buffer to go out of sync
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  22/12/2008 |
|
Status: Unverified
FACT(s) (Environment):
Windows NT 32 Intel/Windows 2000
FACT(s) (Environment):
Progress 9.1x
SYMPTOM(s):
Resizing browse column causes underlying buffer to go out of sync
Resizing of column causes horizontal scrollbar to be removed
Buffer points to the record displayed in the new bottom row of the browse
No record is available in buffer if bottom row is blank
CAUSE:
This is a known issue being investigated by development.
The real issue is that because the horizontal scrollbar is removed, the number of displayed rows in the browse changes. At this point a bug is hit where the browse and the underlying buffer go out of sync.
FIX:
Upgrade to OpenEdge 10.0A or later release.
Workaround (with regards to column resizing):
Include the following global trigger in the startup procedure of the application:
ON 'end-resize':U ANYWHERE
DO:
DEFINE VARIABLE h AS HANDLE NO-UNDO.
h = SELF:PARENT.
IF h:TYPE = 'BROWSE' AND h:NUM-SELECTED-ROWS > 0 THEN
h:fetch-selected-row(1).
END.