home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic 4 Unleashed / Visual_Basic_4_Unleashed_SAMS_Publishing_1995.iso / crystal / extras / vbxdemo / graph.frm < prev    next >
Text File  |  1994-12-14  |  3KB  |  117 lines

  1. VERSION 2.00
  2. Begin Form Graph 
  3.    BackColor       =   &H00C0C0C0&
  4.    Caption         =   "Format Graph/Chart"
  5.    ClientHeight    =   3285
  6.    ClientLeft      =   2100
  7.    ClientTop       =   2685
  8.    ClientWidth     =   4425
  9.    Height          =   3690
  10.    Left            =   2040
  11.    LinkTopic       =   "Form1"
  12.    ScaleHeight     =   3285
  13.    ScaleWidth      =   4425
  14.    Top             =   2340
  15.    Width           =   4545
  16.    Begin CommandButton GraphHelpClick 
  17.       Caption         =   "Help"
  18.       Height          =   405
  19.       Left            =   2760
  20.       TabIndex        =   6
  21.       Top             =   2565
  22.       Width           =   1065
  23.    End
  24.    Begin CommandButton GraphCancelClick 
  25.       Caption         =   "Cancel"
  26.       Height          =   405
  27.       Left            =   1650
  28.       TabIndex        =   5
  29.       Top             =   2565
  30.       Width           =   1065
  31.    End
  32.    Begin CommandButton GraphOKclick 
  33.       Caption         =   "OK"
  34.       Height          =   405
  35.       Left            =   540
  36.       TabIndex        =   4
  37.       Top             =   2565
  38.       Width           =   1065
  39.    End
  40.    Begin SSFrame Graph3d1 
  41.       Caption         =   "Format "
  42.       Font3D          =   0  'None
  43.       Height          =   2175
  44.       Left            =   570
  45.       TabIndex        =   0
  46.       Top             =   225
  47.       Width           =   3255
  48.       Begin CommandButton GraphOptionsClick 
  49.          Caption         =   "Options..."
  50.          Height          =   405
  51.          Left            =   900
  52.          TabIndex        =   3
  53.          Top             =   1440
  54.          Width           =   1335
  55.       End
  56.       Begin CommandButton GraphTextClick 
  57.          Caption         =   "Text..."
  58.          Height          =   405
  59.          Left            =   900
  60.          TabIndex        =   2
  61.          Top             =   990
  62.          Width           =   1335
  63.       End
  64.       Begin CommandButton GraphTypeClick 
  65.          Caption         =   "Type..."
  66.          Height          =   405
  67.          Left            =   900
  68.          TabIndex        =   1
  69.          Top             =   540
  70.          Width           =   1335
  71.       End
  72.    End
  73. End
  74. Sub Form_Load ()
  75.  SCode = 0
  76.  GraphNo = 0
  77. End Sub
  78.  
  79. Sub GraphCancelClick_Click ()
  80.  Unload Me
  81. End Sub
  82.  
  83. Sub GraphHelpClick_Click ()
  84.  RCode = Shell("Winhelp c:\crw\crw.hlp", 3)
  85. End Sub
  86.  
  87. Sub GraphOKclick_Click ()
  88.  Unload Me
  89. End Sub
  90.  
  91. Sub GraphOptionsClick_Click ()
  92. If SCode = 0 And GraphNo = 0 Then
  93.   MsgBox "Please specify a graph type!"
  94.   Exit Sub
  95. End If
  96.  
  97. Graphoptions.Show 1
  98.  
  99.  
  100.  
  101. End Sub
  102.  
  103. Sub GraphTextClick_Click ()
  104.  
  105. If SCode = 0 And GraphNo = 0 Then
  106.   MsgBox "Please specify a graph type!"
  107.   Exit Sub
  108. End If
  109.  
  110.  GraphText.Show 1
  111. End Sub
  112.  
  113. Sub GraphTypeClick_Click ()
  114.   GraphType.Show 1
  115. End Sub
  116.  
  117.