A Button control can perform a specific function when it is clicked by the end user. After it has been added to the pane of a dialog, you can edit the script in the Script tab that defines the event(s) that occurs when the button is clicked.