Action Procedures Dialog

If you define your own action routine, it needs to be added to the application's "action table". X-Designer does this for you automatically when you define the action procedures in the Action Procedures dialog, displayed by selecting "Action Procedures..." from the Module menu.

The "Action Name" is the name used in the Translations dialog, the "Procedure Name" is, as you might expect, the name of the procedure which will be called. In the interests of clarity, these names are usually the same.

Action procedures do not have any client data associated with them, but they are passed the parameters defined for the action in the Translations dialog. You can provide any number of parameters in that dialog and within the parentheses, so long as they are all strings.

You may have any number of action procedures defined within your design. X-Designer generates their stubs and the associated action table into the main code file.

See also: