home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 26 / CD_ASCQ_26_1295.iso / vrac / vbresize.zip / FORM1.FRM < prev    next >
Text File  |  1995-05-21  |  11KB  |  347 lines

  1. VERSION 2.00
  2. Begin Form Form1 
  3.    BackColor       =   &H00C0C0C0&
  4.    Caption         =   "ReSize Sample Application"
  5.    ClientHeight    =   4452
  6.    ClientLeft      =   1140
  7.    ClientTop       =   1584
  8.    ClientWidth     =   6408
  9.    Height          =   4872
  10.    Icon            =   FORM1.FRX:0000
  11.    Left            =   1092
  12.    LinkTopic       =   "Form1"
  13.    ScaleHeight     =   4452
  14.    ScaleWidth      =   6408
  15.    Top             =   1212
  16.    Width           =   6504
  17.    Begin CommandButton Command5 
  18.       Caption         =   "Line Demo"
  19.       FontBold        =   -1  'True
  20.       FontItalic      =   0   'False
  21.       FontName        =   "Arial"
  22.       FontSize        =   7.8
  23.       FontStrikethru  =   0   'False
  24.       FontUnderline   =   0   'False
  25.       Height          =   372
  26.       Left            =   2280
  27.       TabIndex        =   18
  28.       Top             =   3840
  29.       Width           =   1812
  30.    End
  31.    Begin CommandButton Command4 
  32.       Caption         =   "Move things around"
  33.       FontBold        =   -1  'True
  34.       FontItalic      =   0   'False
  35.       FontName        =   "Arial"
  36.       FontSize        =   7.8
  37.       FontStrikethru  =   0   'False
  38.       FontUnderline   =   0   'False
  39.       Height          =   372
  40.       Left            =   4320
  41.       TabIndex        =   17
  42.       Top             =   3840
  43.       Width           =   1812
  44.    End
  45.    Begin CommandButton Command3 
  46.       Caption         =   "Change Fonts"
  47.       FontBold        =   -1  'True
  48.       FontItalic      =   0   'False
  49.       FontName        =   "Arial"
  50.       FontSize        =   7.8
  51.       FontStrikethru  =   0   'False
  52.       FontUnderline   =   0   'False
  53.       Height          =   372
  54.       Left            =   240
  55.       TabIndex        =   16
  56.       Top             =   3840
  57.       Width           =   1812
  58.    End
  59.    Begin CommandButton Command2 
  60.       Caption         =   "Help"
  61.       FontBold        =   -1  'True
  62.       FontItalic      =   0   'False
  63.       FontName        =   "Arial"
  64.       FontSize        =   7.8
  65.       FontStrikethru  =   0   'False
  66.       FontUnderline   =   0   'False
  67.       Height          =   372
  68.       Left            =   4800
  69.       TabIndex        =   15
  70.       Top             =   720
  71.       Width           =   1332
  72.    End
  73.    Begin Frame Frame1 
  74.       BackColor       =   &H00C0C0C0&
  75.       Caption         =   "Misc. Info"
  76.       FontBold        =   -1  'True
  77.       FontItalic      =   0   'False
  78.       FontName        =   "Arial"
  79.       FontSize        =   7.8
  80.       FontStrikethru  =   0   'False
  81.       FontUnderline   =   0   'False
  82.       Height          =   972
  83.       Left            =   960
  84.       TabIndex        =   14
  85.       Top             =   2280
  86.       Width           =   4452
  87.       Begin CheckBox Check1 
  88.          BackColor       =   &H00C0C0C0&
  89.          Caption         =   "Current Client?"
  90.          FontBold        =   -1  'True
  91.          FontItalic      =   0   'False
  92.          FontName        =   "Arial"
  93.          FontSize        =   7.8
  94.          FontStrikethru  =   0   'False
  95.          FontUnderline   =   0   'False
  96.          Height          =   252
  97.          Left            =   240
  98.          TabIndex        =   5
  99.          Top             =   360
  100.          Width           =   1572
  101.       End
  102.       Begin OptionButton Option1 
  103.          BackColor       =   &H00C0C0C0&
  104.          Caption         =   "Male"
  105.          FontBold        =   -1  'True
  106.          FontItalic      =   0   'False
  107.          FontName        =   "Arial"
  108.          FontSize        =   7.8
  109.          FontStrikethru  =   0   'False
  110.          FontUnderline   =   0   'False
  111.          Height          =   252
  112.          Left            =   2520
  113.          TabIndex        =   6
  114.          Top             =   360
  115.          Width           =   1212
  116.       End
  117.       Begin OptionButton Option2 
  118.          BackColor       =   &H00C0C0C0&
  119.          Caption         =   "Female"
  120.          FontBold        =   -1  'True
  121.          FontItalic      =   0   'False
  122.          FontName        =   "Arial"
  123.          FontSize        =   7.8
  124.          FontStrikethru  =   0   'False
  125.          FontUnderline   =   0   'False
  126.          Height          =   252
  127.          Left            =   2520
  128.          TabIndex        =   7
  129.          Top             =   600
  130.          Width           =   1332
  131.       End
  132.    End
  133.    Begin ReSize ReSize1 
  134.       Left            =   120
  135.       Top             =   2760
  136.    End
  137.    Begin CommandButton Command1 
  138.       Caption         =   "Exit"
  139.       FontBold        =   -1  'True
  140.       FontItalic      =   0   'False
  141.       FontName        =   "Arial"
  142.       FontSize        =   7.8
  143.       FontStrikethru  =   0   'False
  144.       FontUnderline   =   0   'False
  145.       Height          =   372
  146.       Left            =   4800
  147.       TabIndex        =   8
  148.       Top             =   240
  149.       Width           =   1332
  150.    End
  151.    Begin TextBox Text5 
  152.       FontBold        =   -1  'True
  153.       FontItalic      =   0   'False
  154.       FontName        =   "Arial"
  155.       FontSize        =   7.8
  156.       FontStrikethru  =   0   'False
  157.       FontUnderline   =   0   'False
  158.       Height          =   288
  159.       Left            =   5040
  160.       TabIndex        =   4
  161.       Top             =   1440
  162.       Width           =   732
  163.    End
  164.    Begin TextBox Text4 
  165.       FontBold        =   -1  'True
  166.       FontItalic      =   0   'False
  167.       FontName        =   "Arial"
  168.       FontSize        =   7.8
  169.       FontStrikethru  =   0   'False
  170.       FontUnderline   =   0   'False
  171.       Height          =   288
  172.       Left            =   3960
  173.       TabIndex        =   3
  174.       Top             =   1440
  175.       Width           =   372
  176.    End
  177.    Begin TextBox Text3 
  178.       FontBold        =   -1  'True
  179.       FontItalic      =   0   'False
  180.       FontName        =   "Arial"
  181.       FontSize        =   7.8
  182.       FontStrikethru  =   0   'False
  183.       FontUnderline   =   0   'False
  184.       Height          =   288
  185.       Left            =   1320
  186.       TabIndex        =   2
  187.       Top             =   1440
  188.       Width           =   1812
  189.    End
  190.    Begin TextBox Text2 
  191.       FontBold        =   -1  'True
  192.       FontItalic      =   0   'False
  193.       FontName        =   "Arial"
  194.       FontSize        =   7.8
  195.       FontStrikethru  =   0   'False
  196.       FontUnderline   =   0   'False
  197.       Height          =   288
  198.       Left            =   1320
  199.       TabIndex        =   1
  200.       Top             =   960
  201.       Width           =   2772
  202.    End
  203.    Begin TextBox Text1 
  204.       FontBold        =   -1  'True
  205.       FontItalic      =   0   'False
  206.       FontName        =   "Arial"
  207.       FontSize        =   7.8
  208.       FontStrikethru  =   0   'False
  209.       FontUnderline   =   0   'False
  210.       Height          =   288
  211.       Left            =   1320
  212.       TabIndex        =   0
  213.       Top             =   480
  214.       Width           =   2772
  215.    End
  216.    Begin Line Line1 
  217.       BorderWidth     =   4
  218.       X1              =   360
  219.       X2              =   6000
  220.       Y1              =   3600
  221.       Y2              =   3600
  222.    End
  223.    Begin Label Label5 
  224.       Alignment       =   1  'Right Justify
  225.       BackColor       =   &H00C0C0C0&
  226.       BackStyle       =   0  'Transparent
  227.       Caption         =   "Zip:"
  228.       FontBold        =   -1  'True
  229.       FontItalic      =   0   'False
  230.       FontName        =   "Arial"
  231.       FontSize        =   7.8
  232.       FontStrikethru  =   0   'False
  233.       FontUnderline   =   0   'False
  234.       Height          =   252
  235.       Left            =   4320
  236.       TabIndex        =   9
  237.       Top             =   1440
  238.       Width           =   612
  239.    End
  240.    Begin Label Label4 
  241.       Alignment       =   1  'Right Justify
  242.       BackColor       =   &H00C0C0C0&
  243.       BackStyle       =   0  'Transparent
  244.       Caption         =   "State:"
  245.       FontBold        =   -1  'True
  246.       FontItalic      =   0   'False
  247.       FontName        =   "Arial"
  248.       FontSize        =   7.8
  249.       FontStrikethru  =   0   'False
  250.       FontUnderline   =   0   'False
  251.       Height          =   252
  252.       Left            =   3120
  253.       TabIndex        =   10
  254.       Top             =   1440
  255.       Width           =   732
  256.    End
  257.    Begin Label Label3 
  258.       Alignment       =   1  'Right Justify
  259.       BackColor       =   &H00C0C0C0&
  260.       BackStyle       =   0  'Transparent
  261.       Caption         =   "City:"
  262.       FontBold        =   -1  'True
  263.       FontItalic      =   0   'False
  264.       FontName        =   "Arial"
  265.       FontSize        =   7.8
  266.       FontStrikethru  =   0   'False
  267.       FontUnderline   =   0   'False
  268.       Height          =   252
  269.       Left            =   480
  270.       TabIndex        =   11
  271.       Top             =   1440
  272.       Width           =   732
  273.    End
  274.    Begin Label Label2 
  275.       Alignment       =   1  'Right Justify
  276.       BackColor       =   &H00C0C0C0&
  277.       BackStyle       =   0  'Transparent
  278.       Caption         =   "Address:"
  279.       FontBold        =   -1  'True
  280.       FontItalic      =   0   'False
  281.       FontName        =   "Arial"
  282.       FontSize        =   7.8
  283.       FontStrikethru  =   0   'False
  284.       FontUnderline   =   0   'False
  285.       Height          =   252
  286.       Left            =   360
  287.       TabIndex        =   12
  288.       Top             =   960
  289.       Width           =   852
  290.    End
  291.    Begin Label Label1 
  292.       Alignment       =   1  'Right Justify
  293.       BackStyle       =   0  'Transparent
  294.       Caption         =   "Name:"
  295.       FontBold        =   -1  'True
  296.       FontItalic      =   0   'False
  297.       FontName        =   "Arial"
  298.       FontSize        =   7.8
  299.       FontStrikethru  =   0   'False
  300.       FontUnderline   =   0   'False
  301.       Height          =   252
  302.       Left            =   600
  303.       TabIndex        =   13
  304.       Top             =   480
  305.       Width           =   612
  306.    End
  307. End
  308.  
  309. Option Explicit
  310.  
  311. Sub Command1_Click ()
  312.     End
  313. End Sub
  314.  
  315. Sub Command2_Click ()
  316.     Form2.Show 1
  317. End Sub
  318.  
  319. Sub Command3_Click ()
  320.     If Label1.FontName = "Arial" Then
  321.         Label1.FontName = "Times New Roman"
  322.         Label2.FontName = "Times New Roman"
  323.         Label3.FontName = "Times New Roman"
  324.         Label4.FontName = "Times New Roman"
  325.         Label5.FontName = "Times New Roman"
  326.     Else
  327.         Label1.FontName = "Arial"
  328.         Label2.FontName = "Arial"
  329.         Label3.FontName = "Arial"
  330.         Label4.FontName = "Arial"
  331.         Label5.FontName = "Arial"
  332.     End If
  333. End Sub
  334.  
  335. Sub Command4_Click ()
  336.     Dim Temp As Integer
  337.     Option2.Left = Check1.Left
  338.     Temp = Check1.Left
  339.     Check1.Left = Option1.Left
  340.     Option1.Left = Temp
  341. End Sub
  342.  
  343. Sub Command5_Click ()
  344.     Form3.Show 1
  345. End Sub
  346.  
  347.