Previous Topic

Next Topic

Inhoudsopgave

Book Index

btnApply.OnClickEvent Event

Event Event btnApply.OnClickEvent: String

Description

Specifies the name of the procedure which is evaluated after clicking the Apply button.

Code Snippet

Use the btnApply Procedure to create a reference to the Cancel button of the Process form:

Set btnApply = frmProcess.btnApply

The Cancel button must be linked to the current script:

btnApply.Script = Script

Link the OnClick event to a script procedure:

btnApply.OnClickEvent = "OnClickButtonApply"

Implement the OnClickButtonApply event handler. Use the btnApply.OldClick method to start the original process:

Sub OnClickButtonApply

Rem code before OldClick here...

btnApply.OldClick

Rem code after OldClick here...

End Sub