home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 10 / 10.iso / l / l405 / 1.ddi / MAIN1.FR_ / MAIN1.bin (.txt)
Encoding:
Visual Basic Form  |  1993-04-28  |  1.9 KB  |  66 lines

  1. VERSION 2.00
  2. Begin MDIForm frmMain 
  3.    Caption         =   "Mouse Examples"
  4.    Height          =   5130
  5.    Left            =   195
  6.    LinkTopic       =   "MDIForm1"
  7.    Top             =   1095
  8.    Width           =   7365
  9.    Begin Menu mnuOptions 
  10.       Caption         =   "&Options"
  11.       Begin Menu mnuClickLine 
  12.          Caption         =   "&Click-A-Line"
  13.       End
  14.       Begin Menu mnuScribble 
  15.          Caption         =   "&Scribble"
  16.       End
  17.       Begin Menu mnuDragDrop 
  18.          Caption         =   "&Drag Drop"
  19.       End
  20.       Begin Menu sep1 
  21.          Caption         =   "-"
  22.       End
  23.       Begin Menu mnuInstructions 
  24.          Caption         =   "&Instructions"
  25.       End
  26.       Begin Menu sep2 
  27.          Caption         =   "-"
  28.       End
  29.       Begin Menu mnuExit 
  30.          Caption         =   "E&xit"
  31.       End
  32.    End
  33. Sub MDIForm_Unload (Cancel As Integer)
  34.     End
  35. End Sub
  36. Sub mnuClickLine_Click ()
  37.     frmClickLine.Cls
  38. End Sub
  39. Sub mnuDragDrop_Click ()
  40.     frmDrag.Show
  41. End Sub
  42. Sub mnuExit_Click ()
  43.     End
  44. End Sub
  45. Sub mnuInstructions_Click ()
  46.     ' Declare local variables
  47.     Dim MsgText
  48.     Dim CR
  49.     Dim PB
  50.     ' Initialize paragraph break local variable
  51.     CR = Chr$(10) & Chr$(13)
  52.     PB = Chr$(10) & Chr$(13) & Chr$(10) & Chr$(13)
  53.     ' Define message text
  54.     MsgText = "Click-A-Line"
  55.     MsgText = MsgText & CR & "Click on the form to draw connecting lines."
  56.     MsgText = MsgText & PB & "Scribble"
  57.     MsgText = MsgText & CR & "Drag the mouse across the from to draw a line."
  58.     MsgText = MsgText & PB & "Drag Drop"
  59.     MsgText = MsgText & CR & "Select a valid text (.txt), bitmap (.bmp), Windows executable (.exe), or Help (.hlp) file in the files list box. Drag the file and drop it in the picture box to display or execute the file."
  60.     ' Display message
  61.     MsgBox MsgText, 64, "Mouse Demo Instructions"
  62. End Sub
  63. Sub mnuScribble_Click ()
  64.     frmScribble.Cls
  65. End Sub
  66.