Consultor Eletrônico



Kbase P6902: How can code attached to an event on a widget be invoked fro
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   1/27/2003
Status: Unverified

GOAL:

How can code attached to an event on a widget be invoked from other places in code?

FIX:

Use the APPLY statement to apply the event to the widget. For example, if there is code behind the CHOOSE event of a button named Cancel-Button the application needs to run that code without the user having clicked on the button then simply add the following code to the application:

APPLY "CHOOSE":U TO Cancel-Button.