PROGRAMMING OVERVIEW AND USER INTERFACE


Creating an additional script in LotusScript
A number of scripts, such as Initialize, Terminate, and Click, are automatically defined as events for the current Domino object. You select them from the Info List. You can create additional scripts and other block structures as shown in the following table. When a new script is added, it appears on the Objects tab.
What you typeWhat LotusScript does
Class nameAdds an empty Class/End Class block called name to the end of the (Declarations) script for the current object. Positions the insertion point in the Class statement.
Deftype letter_rangeAdds a Deftype statement to the end of the (Options) script for the current object. Positions the insertion point at the Deftype statement.

For information about creating a valid letter_range, see Deftype statements.

Dim nameIf the Dim statement is typed outside of a subprogram, adds a Dim statement for name to the end of the (Declarations) script for the current object. Positions the insertion point at the Dim statement.
Function nameCreates an empty Function/End Function block called name for the current object and adds it to the list of events. Positions the insertion point in the function.
Option keywordAdds an Option statement to the end of the (Options) script for the current object. Positions the insertion point at the Option statement.

For a list of valid keywords, see Option keyword.

Property Get nameCreates an empty Property Get/End Property block called name for the current object and adds an item called name Get to the list of events. Positions the insertion point in the subprogram.
Property Set nameCreates an empty Property Set/End Property block called name for the current object and adds an item called name Set to the list of events. Positions the insertion point in the subprogram.
Sub nameCreates an empty Sub/End Sub block called name for the current object and adds it to the list of events. Positions the insertion point in the subroutine.
Type nameCreates an empty Type/End Type block called name for the current object and adds it to the end of the (Declarations) script for the object. Positions the insertion point at the beginning of the Type block.

See Also