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 btnPrev button object in the Schedule Display view.
- ' This script changes the date to the previous day, clears the display
- ' of reservation information from other days, and redisplays the information
- ' for the new day.
-
- ' Set the new date by decrementing the date by one
- source.fbxDateDisplay.text = Str$(Datevalue(source.fbxDateDisplay.text) - 1)
-
- ' Clears reservation information from the view
- Call clearDisplay()
-
- ' Reads reservation info from the schedule database and
- ' puts that information on the view
- Call readBlock (source.fbxDateDisplay.text)
-
- End Sub ' Click event for the btnPrev object on the Schedule Display view