home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1998 October A / Pcwk10a98.iso / Lotus / LOTUS / SMASTERS / APPROACH / SCHEDULE.MPR / SCRIPT / ApproachDoc / Room Setup / Body / fbxRoomName.s (.txt) < prev    next >
Encoding:
Null Bytes Alternating  |  1997-01-09  |  2.0 KB  |  23 lines

  1. '++LotusScript Development Environment:2:5:(Options):0:66
  2.  
  3. '++LotusScript Development Environment:2:5:(Forward):0:1
  4. Declare Sub Keydown(Source As Fieldbox, Charcode As Long, Repeats As Integer, Flags As Integer, Overridedefault As Integer)
  5.  
  6. '++LotusScript Development Environment:2:5:(Declarations):0:2
  7.  
  8. '++LotusScript Development Environment:2:2:BindEvents:1:129
  9. Private Sub BindEvents(Byval Objectname_ As String)
  10.     Static Source As FIELDBOX
  11.     Set Source = Bind(Objectname_)
  12.     On Event Keydown From Source Call Keydown
  13. End Sub
  14.  
  15. '++LotusScript Development Environment:2:2:Keydown:1:12
  16. Sub Keydown(Source As Fieldbox, Charcode As Long, Repeats As Integer, Flags As Integer, Overridedefault As Integer)
  17. ' Keydown event for the fbxRoomName field box object on the Room Setup view
  18. ' When the user enters a keystroke in the Room Name field box,
  19. ' this script enables the Add button on the view.
  20.     
  21.     source.btnAdd.enabled = True
  22.     
  23. End Sub        ' Keydown event for the fbxRoomName field box object on the Room Setup view