Click Event

Click events are triggered when the user clicks a control, typically a button.

 

Supported By:

 

Click Events are supported by buttons, check boxes, field locks, hyperlinks, image buttons, and radio buttons

 

 

EventArgs Properties:

 

None

 

 

 

Example:

 

The following code can be placed in the Click event for a button to open a web page, passing the the loan number and loan amount from the current loan as parameters on the URL.

 

 

'Build the list of arguments to post to the web page

Dim Args as String = " "

 

Args = "LoanNumber=" & Loan.Fields("364").Value

Args = Args & "&Amount=" & Loan.Fields ("1109").UnformattedValue

 

 

'Open the browser to the specified web page

Macro.OpenURL("http://www.mysite.com/DisplayData.asp?" & Args)