Consultor Eletrônico



Kbase P88909: LEAVE trigger doesn't fire when pressing a flat button
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   23/07/2004
Status: Unverified

SYMPTOM(s):

LEAVE trigger doesn't fire

When pressing a flat button, LEAVE trigger of the previous object is not fired.

When pressing a flat button, focus doesn't move and stay on the previous object.

CAUSE:

This is expected behavior. Flat buttons don't accept focus. Also, Progress will not generate ENTRY or LEAVE events for the buttons.

FIX:

If you want the trigger to be anyway fired, you can write in the first line of the CHOOSE trigger of the button the following code:
APPLY 'leave' TO FOCUS.

This will force the trigger of the left widget to be fired