'++LotusScript Development Environment:2:5:(Options):0:66 '++LotusScript Development Environment:2:5:(Forward):0:1 Declare Sub Closewindow(Source As Docwindow, Document As DOCUMENT) '++LotusScript Development Environment:2:5:(Declarations):0:2 '++LotusScript Development Environment:2:2:BindEvents:1:129 Private Sub BindEvents(Byval Objectname_ As String) Static Source As DOCWINDOW Set Source = Bind(Objectname_) On Event Closewindow From Source Call Closewindow End Sub '++LotusScript Development Environment:2:2:Closewindow:1:12 Sub Closewindow(Source As Docwindow, Document As DOCUMENT) End Sub