XXX

Description

This action is called after a standard button has been executed (button of the 3rd tab in the window dictionary). For each standard button, there are 2 possible actions: an action before AVANT_XXX, an action after XXX (where XXX features the buton identification ). Between these 2 actions, the dictionary action is run if it is specified on the button (in the window dictionary).

The grid below contains the list of the before and after actions, for each standard button:

Button title

Action before

Action after

End AVANT_END END
Save button AVANT_ENR ENR
Create AVANT_CRE CRE
Delete AVANT_SUP SUP
Cancel AVANT_ABA ABA
Ok AVANT_OK OK button
New  AVANT_NEW NEW
First AVANT_FIR FIR
Last AVANT_LAS LAS
Previous AVANT_PRE PRE
Next AVANT_SUI SUI
Selection AVANT_SEL SEL
Code change AVANT_CHG CHG
Printing AVANT_EDI EDI
List AVANT_LIS LIS
Attachments AVANT_JOI JOI
Comments AVANT_COM COM
Properties AVANT_PRO PRO

Template

Window entry

Use

When the dictionary action is STD or SPE or is not specified, this action is used to launch the button processing.

By default the buttons do not allow the user to exit the window, except the OK and END buttons.

When positioning End to 0, this tells the supervisor to remain in the window.
With End = 1, this indicates that the window must be exited.