home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form fZoom
- BackColor = &H00C0C0C0&
- ClientHeight = 1815
- ClientLeft = 3600
- ClientTop = 3930
- ClientWidth = 4560
- Height = 2220
- Left = 3540
- LinkTopic = "Form1"
- ScaleHeight = 1815
- ScaleWidth = 4560
- Top = 3585
- Width = 4680
- Begin CommandButton CloseZoomButton
- Caption = "&Close"
- Height = 264
- Left = 120
- TabIndex = 3
- Top = 36
- Visible = 0 'False
- Width = 972
- End
- Begin CommandButton SaveButton
- Caption = "&Save Changes"
- Height = 264
- Left = 120
- TabIndex = 2
- Top = 36
- Visible = 0 'False
- Width = 1932
- End
- Begin CommandButton CloseButton
- Cancel = -1 'True
- Caption = "&Close w/o Changes"
- Height = 264
- Left = 2160
- TabIndex = 1
- Top = 40
- Visible = 0 'False
- Width = 1932
- End
- Begin TextBox cData
- BackColor = &H00FFFFFF&
- Height = 1332
- Left = 48
- MultiLine = -1 'True
- ScrollBars = 2 'Vertical
- TabIndex = 0
- Tag = "OL"
- Top = 360
- Width = 4452
- End
- Option Explicit
- Dim FData As String
- Sub cData_KeyPress (KeyAscii As Integer)
- 'check for the escape key
- If KeyAscii = 27 Then
- Call CloseButton_Click
- Exit Sub
- End If
- 'throw away the key of save not alloed
- If SaveButton.Visible = False Then KeyAscii = 0
- End Sub
- Sub CloseButton_Click ()
- Unload Me
- End Sub
- Sub CloseZoomButton_Click ()
- Unload Me
- End Sub
- Sub Form_Load ()
- cData = gstZoomData
- Height = 2500
- Width = 4600
- End Sub
- Sub Form_Paint ()
- Outlines Me
- End Sub
- Sub Form_Resize ()
- On Error Resume Next
- cData.Width = Me.Width - 200
- cData.Height = Me.Height - 850
- End Sub
- Sub SaveButton_Click ()
- gstZoomData = cData
- Unload Me
- End Sub
-