home *** CD-ROM | disk | FTP | other *** search
Null Bytes Alternating | 1997-01-09 | 2.6 KB | 35 lines |
- '++LotusScript Development Environment:2:5:(Options):0:66
-
- '++LotusScript Development Environment:2:5:(Forward):0:1
- Declare Sub Switchto(Source As Form, View As VIEW)
-
- '++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 FORM
- Set Source = Bind(Objectname_)
- On Event Switchto From Source Call Switchto
- End Sub
-
- '++LotusScript Development Environment:2:2:Switchto:1:12
- Sub Switchto(Source As Form, View As VIEW)
- ' Switcho event for the Reservation view
- ' FIlls boxes in the Reservation view using values from global variables.
- ' The Reservation view appears as a dialog box.
-
- ' Set values for text boxes, field boxes, and drop-down boxes
- ' on the body of the Reservation view.
- currentview.body.fbxReservedBy.text = ""
- currentview.body.ddbEnd.text = ""
- currentview.body.fbxNotes.text = ""
- currentview.body.fbxDate.text = GlobDateDisplay
- currentview.body.ddbStart.text = GlobStartTime
- currentview.body.ddbEnd.text = ""
- currentview.body.ddbRoom.setlist rooms
- currentview.body.ddbRoom.text = GlobRoom
-
- ' Set the focus, the location of the cursor, in the first field on the view
- currentview.body.fbxReservedBy.setfocus
-
- End Sub ' Switcho event for the Reservation view