Consultor Eletrônico



Kbase P25725: Cannot navigate from the first row of a single select browse using the arrow keys
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   26/01/2011
Status: Verified

SYMPTOM(s):

Hitting the down arrow key on the keyboard

Progress does not move focus to the next row in the browse

The focused row is the top one of the browse

The browse's focused row is being programmatically deselected via the DESELECT-SELECTED-ROW(1) Method in a VALUE-CHANGED trigger

The MULTIPLE option of the browse phrase is not being used in the DEFINE BROWSE statement

The cursor-up and cursor-down keys work just fine when the focused row is not the first record in the browse's query

CAUSE:

Bug# OE00073399

FIX:

Insert the following code on the CURSOR-DOWN OF BROWSE trigger:

ON CURSOR-DOWN OF <browse-name> IN FRAME DEFAULT-FRAME DO:
IF SELF:FOCUSED-ROW = 1 THEN SELF:SELECT-FOCUSED-ROW(). /*Will be deselected later*/
END.