home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic 4 Unleashed / Visual_Basic_4_Unleashed_SAMS_Publishing_1995.iso / crystal / extras / vbxdemo / rpttitle.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1994-12-15  |  2.2 KB  |  80 lines

  1. VERSION 2.00
  2. Begin Form RptTitle 
  3.    BackColor       =   &H00C0C0C0&
  4.    BorderStyle     =   3  'Fixed Double
  5.    Caption         =   "Report Title"
  6.    ClientHeight    =   1725
  7.    ClientLeft      =   2865
  8.    ClientTop       =   3210
  9.    ClientWidth     =   3960
  10.    Height          =   2130
  11.    Left            =   2805
  12.    LinkTopic       =   "Form1"
  13.    MaxButton       =   0   'False
  14.    MinButton       =   0   'False
  15.    ScaleHeight     =   1725
  16.    ScaleWidth      =   3960
  17.    Top             =   2865
  18.    Width           =   4080
  19.    Begin CommandButton Command1 
  20.       Caption         =   "Help"
  21.       Height          =   375
  22.       Left            =   2640
  23.       TabIndex        =   4
  24.       Top             =   1080
  25.       Width           =   1005
  26.    End
  27.    Begin CommandButton Command4 
  28.       Cancel          =   -1  'True
  29.       Caption         =   "Cancel"
  30.       Height          =   375
  31.       Left            =   1560
  32.       TabIndex        =   3
  33.       Top             =   1080
  34.       Width           =   975
  35.    End
  36.    Begin TextBox Text1 
  37.       Height          =   375
  38.       Left            =   240
  39.       TabIndex        =   0
  40.       Top             =   480
  41.       Width           =   3525
  42.    End
  43.    Begin CommandButton Command3 
  44.       Caption         =   "&OK"
  45.       Default         =   -1  'True
  46.       Height          =   375
  47.       Left            =   360
  48.       TabIndex        =   2
  49.       Top             =   1080
  50.       Width           =   1065
  51.    End
  52.    Begin Label Label1 
  53.       BackColor       =   &H00C0C0C0&
  54.       Caption         =   "Report Title:"
  55.       Height          =   210
  56.       Left            =   270
  57.       TabIndex        =   1
  58.       Top             =   225
  59.       Width           =   1095
  60.    End
  61. Sub Command1_Click ()
  62.  RCode = Shell("Winhelp c:\crw\crw.hlp", 3)
  63.  If RCode = False Then
  64.    MsgBox ("CRWDEMO cannot find the Crystal Help file in C:\CRW directory")
  65.  End If
  66. End Sub
  67. Sub Command2_Click ()
  68. End Sub
  69. Sub Command3_Click ()
  70.     'Set Report Title
  71.     Main.Report1.ReportTitle = Text1.Text
  72.     Unload Me
  73. End Sub
  74. Sub Command4_Click ()
  75. Unload Me
  76. End Sub
  77. Sub MenuFile_Click ()
  78.  Unload Me
  79. End Sub
  80.