When you program in Domino, you write your LotusScript code to affect Domino objects. Your code is executed by the occurrence of an event to the objects (such as clicking a button, opening a document, closing a document, or entering data in a field). Using the Objects view, you can easily see the events that are available for an object.
For example, you can write a very simple script for an object such as a button, as follows:
Sub Click( Source As Button ) MessageBox( "I'm learning LotusScript!" ) End Sub
This script just shows a message box when you click the button.
Each programmable object in Domino has a list of associated events that it responds to; for example, a button responds ...