home *** CD-ROM | disk | FTP | other *** search
/ Planet Source Code Jumbo …e CD Visual Basic 1 to 7 / 1_2002.ISO / Data / Zips / CODE_UPLOAD9597942000.psc / Form2.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  2000-09-03  |  1.5 KB  |  58 lines

  1. VERSION 5.00
  2. Begin VB.Form Form2 
  3.    Caption         =   "WinScript Program"
  4.    ClientHeight    =   3852
  5.    ClientLeft      =   2004
  6.    ClientTop       =   1896
  7.    ClientWidth     =   4068
  8.    Icon            =   "Form2.frx":0000
  9.    LinkTopic       =   "Form2"
  10.    ScaleHeight     =   3852
  11.    ScaleWidth      =   4068
  12.    Begin VB.TextBox TxtBox 
  13.       BackColor       =   &H00FFFFFF&
  14.       Height          =   852
  15.       Index           =   0
  16.       Left            =   0
  17.       Locked          =   -1  'True
  18.       MultiLine       =   -1  'True
  19.       ScrollBars      =   2  'Vertical
  20.       TabIndex        =   0
  21.       Top             =   0
  22.       Visible         =   0   'False
  23.       Width           =   972
  24.    End
  25.    Begin VB.Label txt 
  26.       Caption         =   "No"
  27.       Height          =   12
  28.       Left            =   1080
  29.       TabIndex        =   1
  30.       Top             =   2520
  31.       Visible         =   0   'False
  32.       Width           =   612
  33.    End
  34. Attribute VB_Name = "Form2"
  35. Attribute VB_GlobalNameSpace = False
  36. Attribute VB_Creatable = False
  37. Attribute VB_PredeclaredId = True
  38. Attribute VB_Exposed = False
  39. Option Explicit
  40. Private Sub Form_Activate()
  41. Me.Height = Me.Height + 10
  42. End Sub
  43. Private Sub Form_Load()
  44. Me.Height = Me.Height + 10
  45. End Sub
  46. Private Sub Form_Resize()
  47. On Error Resume Next
  48. If txt.Caption = "Yes" Then
  49. TxtBox(1).Width = ScaleWidth
  50. TxtBox(1).Height = ScaleHeight
  51. If txt.Caption = "No" Then
  52. End If
  53. End If
  54. End Sub
  55. Private Sub Form_Unload(Cancel As Integer)
  56. Unload Me
  57. End Sub
  58.