home *** CD-ROM | disk | FTP | other *** search
Null Bytes Alternating | 1997-01-09 | 2.4 KB | 32 lines |
- '++LotusScript Development Environment:2:5:(Options):0:66
-
- '++LotusScript Development Environment:2:5:(Forward):0:1
- Declare Sub Click(Source As Button, X As Long, Y As Long, Flags As Long)
-
- '++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 BUTTON
- Set Source = Bind(Objectname_)
- On Event Click From Source Call Click
- End Sub
-
- '++LotusScript Development Environment:2:2:Click:1:12
- Sub Click(Source As Button, X As Long, Y As Long, Flags As Long)
- ' Click event for the btnCancel button object on the Reservation view
- ' This script records the date last set in the Reservation view and
- ' switches to the Schedule Display view, for the date last set.
-
- Dim dateReserved As String
-
- ' Store the date last set in the Reservation view
- dateReserved = source.fbxDate.text
-
- ' Switch to the Schedule Display view
- Set currentwindow.activeview = currentdocument.Schedule~ Display
-
- ' Set the date on the Schedule Display view to the date from the Reservation view
- currentview.body.fbxDateDisplay.text = dateReserved
-
- End Sub ' Click event for btnCancel on the Reservation view