Kbase 13543: APPLY CURSOR-UP and CURSOR-DOWN not allowed in 7.3 BROWSE
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/05/1998 |
|
APPLY CURSOR-UP and CURSOR-DOWN not allowed in 7.3 BROWSE
In the 7.3 browser, the new multiple-selection feature required that
the ability to APPLY CURSOR-UP or APPLY CURSOR-DOWN to the browse no
longer be supported.
Users can code around this by writing triggers for CURSOR-UP and
CURSOR-DOWN. The trigger code should make use of the new 7.3 browse
methods:
DEF VAR log AS LOGICAL NO-UNDO.
ON CURSOR-UP OF BROWSE-1 IN FRAME f DO:
log = BROWSE-1:SELECT-PREV-ROW().
END.
ON CURSOR-DOWN OF BROWSE-1 IN FRAME f DO:
log = BROWSE-1:SELECT-NEXT-ROW().
END.
The PAGE-UP and PAGE-DOWN features also must be coded using a similar
strategy, for the same reasons.
Progress Software Technical Support Note # 13543