Consultor Eletrônico



Kbase P12512: Applying the default-action event during the row-leave trigg
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   1/27/2003
Status: Unverified

FACT(s) (Environment):

Sun Solaris SPARC

FACT(s) (Environment):

Progress 9.1C

SYMPTOM(s):

Using character mode Progress

trying to apply default-action event during the row-leave trigger of a browse

CHANGE:

Added the APPLY 'DEFAULT-ACTION' to <Browse> statement to the browsers ROW-LEAVE trigger

CAUSE:

The DEFAULT-ACTION event does nothing when invoked from inside of a ROW-LEAVE trigger

FIX:

Use the VALUE-CHANGED event instead and in the VALUE-CHANGED trigger test the LASTKEY function to see if the RETURN key was pressed then do the same code that would have been in the DEFAULT-ACTION trigger.