home *** CD-ROM | disk | FTP | other *** search
/ Planet Source Code Jumbo …e CD Visual Basic 1 to 7 / 1_2002.ISO / Data / Zips / tetris_tee560052182002.psc / frmTetris.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  2002-02-18  |  42.6 KB  |  1,399 lines

  1. VERSION 5.00
  2. Begin VB.Form frmTetris 
  3.    BackColor       =   &H00404040&
  4.    Caption         =   "Tetris"
  5.    ClientHeight    =   8025
  6.    ClientLeft      =   60
  7.    ClientTop       =   345
  8.    ClientWidth     =   4650
  9.    Icon            =   "frmTetris.frx":0000
  10.    LinkTopic       =   "Form1"
  11.    ScaleHeight     =   8025
  12.    ScaleWidth      =   4650
  13.    StartUpPosition =   3  'Windows Default
  14.    Begin VB.Timer tmrMENU 
  15.       Interval        =   100
  16.       Left            =   2640
  17.       Top             =   3960
  18.    End
  19.    Begin VB.Timer tmrA 
  20.       Left            =   2400
  21.       Top             =   0
  22.    End
  23.    Begin VB.Label Label1 
  24.       AutoSize        =   -1  'True
  25.       BackStyle       =   0  'Transparent
  26.       Caption         =   "Next Piece"
  27.       BeginProperty Font 
  28.          Name            =   "LcdD"
  29.          Size            =   12
  30.          Charset         =   0
  31.          Weight          =   400
  32.          Underline       =   0   'False
  33.          Italic          =   0   'False
  34.          Strikethrough   =   0   'False
  35.       EndProperty
  36.       ForeColor       =   &H00FFFFFF&
  37.       Height          =   240
  38.       Left            =   3000
  39.       TabIndex        =   36
  40.       Top             =   0
  41.       Width           =   975
  42.    End
  43.    Begin VB.Image imgNext 
  44.       Height          =   255
  45.       Index           =   3
  46.       Left            =   3480
  47.       Stretch         =   -1  'True
  48.       Top             =   600
  49.       Width           =   255
  50.    End
  51.    Begin VB.Image imgNext 
  52.       Height          =   255
  53.       Index           =   2
  54.       Left            =   3240
  55.       Stretch         =   -1  'True
  56.       Top             =   600
  57.       Width           =   255
  58.    End
  59.    Begin VB.Image imgNext 
  60.       Height          =   255
  61.       Index           =   1
  62.       Left            =   3000
  63.       Stretch         =   -1  'True
  64.       Top             =   600
  65.       Width           =   255
  66.    End
  67.    Begin VB.Image imgNext 
  68.       Height          =   255
  69.       Index           =   0
  70.       Left            =   3240
  71.       Stretch         =   -1  'True
  72.       Top             =   360
  73.       Width           =   255
  74.    End
  75.    Begin VB.Label lblINS 
  76.       Alignment       =   2  'Center
  77.       BackStyle       =   0  'Transparent
  78.       Caption         =   "Return"
  79.       BeginProperty Font 
  80.          Name            =   "LcdD"
  81.          Size            =   12
  82.          Charset         =   0
  83.          Weight          =   400
  84.          Underline       =   0   'False
  85.          Italic          =   0   'False
  86.          Strikethrough   =   0   'False
  87.       EndProperty
  88.       ForeColor       =   &H00FFFFFF&
  89.       Height          =   495
  90.       Index           =   4
  91.       Left            =   0
  92.       TabIndex        =   35
  93.       Top             =   4680
  94.       Width           =   2295
  95.    End
  96.    Begin VB.Label lblINS 
  97.       Alignment       =   2  'Center
  98.       BackStyle       =   0  'Transparent
  99.       Caption         =   "ESC or P  -  Pause"
  100.       BeginProperty Font 
  101.          Name            =   "LcdD"
  102.          Size            =   12
  103.          Charset         =   0
  104.          Weight          =   400
  105.          Underline       =   0   'False
  106.          Italic          =   0   'False
  107.          Strikethrough   =   0   'False
  108.       EndProperty
  109.       ForeColor       =   &H00FFFFFF&
  110.       Height          =   495
  111.       Index           =   3
  112.       Left            =   0
  113.       TabIndex        =   34
  114.       Top             =   3840
  115.       Width           =   2295
  116.    End
  117.    Begin VB.Label lblINS 
  118.       Alignment       =   2  'Center
  119.       BackStyle       =   0  'Transparent
  120.       Caption         =   "Arrows  -  left/right"
  121.       BeginProperty Font 
  122.          Name            =   "LcdD"
  123.          Size            =   12
  124.          Charset         =   0
  125.          Weight          =   400
  126.          Underline       =   0   'False
  127.          Italic          =   0   'False
  128.          Strikethrough   =   0   'False
  129.       EndProperty
  130.       ForeColor       =   &H00FFFFFF&
  131.       Height          =   495
  132.       Index           =   2
  133.       Left            =   0
  134.       TabIndex        =   33
  135.       Top             =   3360
  136.       Width           =   2295
  137.    End
  138.    Begin VB.Label lblINS 
  139.       Alignment       =   2  'Center
  140.       BackStyle       =   0  'Transparent
  141.       Caption         =   "S  -  Rotate Left"
  142.       BeginProperty Font 
  143.          Name            =   "LcdD"
  144.          Size            =   12
  145.          Charset         =   0
  146.          Weight          =   400
  147.          Underline       =   0   'False
  148.          Italic          =   0   'False
  149.          Strikethrough   =   0   'False
  150.       EndProperty
  151.       ForeColor       =   &H00FFFFFF&
  152.       Height          =   495
  153.       Index           =   1
  154.       Left            =   0
  155.       TabIndex        =   32
  156.       Top             =   2880
  157.       Width           =   2295
  158.    End
  159.    Begin VB.Label lblINS 
  160.       Alignment       =   2  'Center
  161.       BackStyle       =   0  'Transparent
  162.       Caption         =   "A  -  Rotate Right"
  163.       BeginProperty Font 
  164.          Name            =   "LcdD"
  165.          Size            =   12
  166.          Charset         =   0
  167.          Weight          =   400
  168.          Underline       =   0   'False
  169.          Italic          =   0   'False
  170.          Strikethrough   =   0   'False
  171.       EndProperty
  172.       ForeColor       =   &H00FFFFFF&
  173.       Height          =   495
  174.       Index           =   0
  175.       Left            =   0
  176.       TabIndex        =   31
  177.       Top             =   2400
  178.       Width           =   2295
  179.    End
  180.    Begin VB.Label lblMNU 
  181.       Alignment       =   2  'Center
  182.       BackStyle       =   0  'Transparent
  183.       Caption         =   "Quit"
  184.       BeginProperty Font 
  185.          Name            =   "LcdD"
  186.          Size            =   12
  187.          Charset         =   0
  188.          Weight          =   400
  189.          Underline       =   0   'False
  190.          Italic          =   0   'False
  191.          Strikethrough   =   0   'False
  192.       EndProperty
  193.       ForeColor       =   &H00FFFFFF&
  194.       Height          =   495
  195.       Index           =   5
  196.       Left            =   240
  197.       TabIndex        =   30
  198.       Top             =   4920
  199.       Width           =   1695
  200.    End
  201.    Begin VB.Label lblSC 
  202.       BackStyle       =   0  'Transparent
  203.       Caption         =   "NA"
  204.       BeginProperty Font 
  205.          Name            =   "LcdD"
  206.          Size            =   12
  207.          Charset         =   0
  208.          Weight          =   400
  209.          Underline       =   0   'False
  210.          Italic          =   0   'False
  211.          Strikethrough   =   0   'False
  212.       EndProperty
  213.       ForeColor       =   &H00FFFFFF&
  214.       Height          =   495
  215.       Index           =   10
  216.       Left            =   0
  217.       TabIndex        =   29
  218.       Top             =   2520
  219.       Visible         =   0   'False
  220.       Width           =   1695
  221.    End
  222.    Begin VB.Label lblSC 
  223.       BackStyle       =   0  'Transparent
  224.       Caption         =   "NA"
  225.       BeginProperty Font 
  226.          Name            =   "LcdD"
  227.          Size            =   12
  228.          Charset         =   0
  229.          Weight          =   400
  230.          Underline       =   0   'False
  231.          Italic          =   0   'False
  232.          Strikethrough   =   0   'False
  233.       EndProperty
  234.       ForeColor       =   &H00FFFFFF&
  235.       Height          =   495
  236.       Index           =   9
  237.       Left            =   0
  238.       TabIndex        =   28
  239.       Top             =   2160
  240.       Visible         =   0   'False
  241.       Width           =   1695
  242.    End
  243.    Begin VB.Label lblSC 
  244.       BackStyle       =   0  'Transparent
  245.       Caption         =   "NA"
  246.       BeginProperty Font 
  247.          Name            =   "LcdD"
  248.          Size            =   12
  249.          Charset         =   0
  250.          Weight          =   400
  251.          Underline       =   0   'False
  252.          Italic          =   0   'False
  253.          Strikethrough   =   0   'False
  254.       EndProperty
  255.       ForeColor       =   &H00FFFFFF&
  256.       Height          =   495
  257.       Index           =   8
  258.       Left            =   0
  259.       TabIndex        =   27
  260.       Top             =   1800
  261.       Visible         =   0   'False
  262.       Width           =   1695
  263.    End
  264.    Begin VB.Label lblSC 
  265.       BackStyle       =   0  'Transparent
  266.       Caption         =   "NA"
  267.       BeginProperty Font 
  268.          Name            =   "LcdD"
  269.          Size            =   12
  270.          Charset         =   0
  271.          Weight          =   400
  272.          Underline       =   0   'False
  273.          Italic          =   0   'False
  274.          Strikethrough   =   0   'False
  275.       EndProperty
  276.       ForeColor       =   &H00FFFFFF&
  277.       Height          =   495
  278.       Index           =   7
  279.       Left            =   0
  280.       TabIndex        =   26
  281.       Top             =   1440
  282.       Visible         =   0   'False
  283.       Width           =   1695
  284.    End
  285.    Begin VB.Label lblSC 
  286.       BackStyle       =   0  'Transparent
  287.       Caption         =   "NA"
  288.       BeginProperty Font 
  289.          Name            =   "LcdD"
  290.          Size            =   12
  291.          Charset         =   0
  292.          Weight          =   400
  293.          Underline       =   0   'False
  294.          Italic          =   0   'False
  295.          Strikethrough   =   0   'False
  296.       EndProperty
  297.       ForeColor       =   &H00FFFFFF&
  298.       Height          =   495
  299.       Index           =   6
  300.       Left            =   0
  301.       TabIndex        =   25
  302.       Top             =   1080
  303.       Visible         =   0   'False
  304.       Width           =   1695
  305.    End
  306.    Begin VB.Label lblSC 
  307.       Alignment       =   2  'Center
  308.       BackStyle       =   0  'Transparent
  309.       Caption         =   "Return"
  310.       BeginProperty Font 
  311.          Name            =   "LcdD"
  312.          Size            =   12
  313.          Charset         =   0
  314.          Weight          =   400
  315.          Underline       =   0   'False
  316.          Italic          =   0   'False
  317.          Strikethrough   =   0   'False
  318.       EndProperty
  319.       ForeColor       =   &H00FFFFFF&
  320.       Height          =   495
  321.       Index           =   5
  322.       Left            =   360
  323.       TabIndex        =   24
  324.       Top             =   2880
  325.       Visible         =   0   'False
  326.       Width           =   1695
  327.    End
  328.    Begin VB.Label lblSC 
  329.       Alignment       =   1  'Right Justify
  330.       BackStyle       =   0  'Transparent
  331.       Caption         =   "SC"
  332.       BeginProperty Font 
  333.          Name            =   "LcdD"
  334.          Size            =   12
  335.          Charset         =   0
  336.          Weight          =   400
  337.          Underline       =   0   'False
  338.          Italic          =   0   'False
  339.          Strikethrough   =   0   'False
  340.       EndProperty
  341.       ForeColor       =   &H00FFFFFF&
  342.       Height          =   495
  343.       Index           =   4
  344.       Left            =   840
  345.       TabIndex        =   23
  346.       Top             =   2520
  347.       Width           =   1695
  348.    End
  349.    Begin VB.Label lblSC 
  350.       Alignment       =   1  'Right Justify
  351.       BackStyle       =   0  'Transparent
  352.       Caption         =   "SC"
  353.       BeginProperty Font 
  354.          Name            =   "LcdD"
  355.          Size            =   12
  356.          Charset         =   0
  357.          Weight          =   400
  358.          Underline       =   0   'False
  359.          Italic          =   0   'False
  360.          Strikethrough   =   0   'False
  361.       EndProperty
  362.       ForeColor       =   &H00FFFFFF&
  363.       Height          =   495
  364.       Index           =   3
  365.       Left            =   840
  366.       TabIndex        =   22
  367.       Top             =   2160
  368.       Visible         =   0   'False
  369.       Width           =   1695
  370.    End
  371.    Begin VB.Label lblSC 
  372.       Alignment       =   1  'Right Justify
  373.       BackStyle       =   0  'Transparent
  374.       Caption         =   "SC"
  375.       BeginProperty Font 
  376.          Name            =   "LcdD"
  377.          Size            =   12
  378.          Charset         =   0
  379.          Weight          =   400
  380.          Underline       =   0   'False
  381.          Italic          =   0   'False
  382.          Strikethrough   =   0   'False
  383.       EndProperty
  384.       ForeColor       =   &H00FFFFFF&
  385.       Height          =   495
  386.       Index           =   2
  387.       Left            =   840
  388.       TabIndex        =   21
  389.       Top             =   1800
  390.       Visible         =   0   'False
  391.       Width           =   1695
  392.    End
  393.    Begin VB.Label lblSC 
  394.       Alignment       =   1  'Right Justify
  395.       BackStyle       =   0  'Transparent
  396.       Caption         =   "SC"
  397.       BeginProperty Font 
  398.          Name            =   "LcdD"
  399.          Size            =   12
  400.          Charset         =   0
  401.          Weight          =   400
  402.          Underline       =   0   'False
  403.          Italic          =   0   'False
  404.          Strikethrough   =   0   'False
  405.       EndProperty
  406.       ForeColor       =   &H00FFFFFF&
  407.       Height          =   495
  408.       Index           =   1
  409.       Left            =   840
  410.       TabIndex        =   20
  411.       Top             =   1440
  412.       Visible         =   0   'False
  413.       Width           =   1695
  414.    End
  415.    Begin VB.Label lblSC 
  416.       Alignment       =   1  'Right Justify
  417.       BackStyle       =   0  'Transparent
  418.       Caption         =   "SC"
  419.       BeginProperty Font 
  420.          Name            =   "LcdD"
  421.          Size            =   12
  422.          Charset         =   0
  423.          Weight          =   400
  424.          Underline       =   0   'False
  425.          Italic          =   0   'False
  426.          Strikethrough   =   0   'False
  427.       EndProperty
  428.       ForeColor       =   &H00FFFFFF&
  429.       Height          =   495
  430.       Index           =   0
  431.       Left            =   840
  432.       TabIndex        =   19
  433.       Top             =   1080
  434.       Visible         =   0   'False
  435.       Width           =   1695
  436.    End
  437.    Begin VB.Label lblMUS 
  438.       Alignment       =   2  'Center
  439.       BackStyle       =   0  'Transparent
  440.       Caption         =   "Return"
  441.       BeginProperty Font 
  442.          Name            =   "LcdD"
  443.          Size            =   12
  444.          Charset         =   0
  445.          Weight          =   400
  446.          Underline       =   0   'False
  447.          Italic          =   0   'False
  448.          Strikethrough   =   0   'False
  449.       EndProperty
  450.       ForeColor       =   &H00FFFFFF&
  451.       Height          =   495
  452.       Index           =   2
  453.       Left            =   240
  454.       TabIndex        =   18
  455.       Top             =   3720
  456.       Visible         =   0   'False
  457.       Width           =   1695
  458.    End
  459.    Begin VB.Label lblMUS 
  460.       Alignment       =   2  'Center
  461.       BackStyle       =   0  'Transparent
  462.       Caption         =   "Music"
  463.       BeginProperty Font 
  464.          Name            =   "LcdD"
  465.          Size            =   12
  466.          Charset         =   0
  467.          Weight          =   400
  468.          Underline       =   0   'False
  469.          Italic          =   0   'False
  470.          Strikethrough   =   0   'False
  471.       EndProperty
  472.       ForeColor       =   &H00FFFFFF&
  473.       Height          =   495
  474.       Index           =   1
  475.       Left            =   240
  476.       TabIndex        =   17
  477.       Top             =   3120
  478.       Visible         =   0   'False
  479.       Width           =   1695
  480.    End
  481.    Begin VB.Label lblMUS 
  482.       Alignment       =   2  'Center
  483.       BackStyle       =   0  'Transparent
  484.       Caption         =   "Volume 100%"
  485.       BeginProperty Font 
  486.          Name            =   "LcdD"
  487.          Size            =   12
  488.          Charset         =   0
  489.          Weight          =   400
  490.          Underline       =   0   'False
  491.          Italic          =   0   'False
  492.          Strikethrough   =   0   'False
  493.       EndProperty
  494.       ForeColor       =   &H00FFFFFF&
  495.       Height          =   495
  496.       Index           =   0
  497.       Left            =   240
  498.       TabIndex        =   16
  499.       Top             =   2520
  500.       Visible         =   0   'False
  501.       Width           =   1695
  502.    End
  503.    Begin VB.Label lblMNU 
  504.       Alignment       =   2  'Center
  505.       BackStyle       =   0  'Transparent
  506.       Caption         =   "Resume Game"
  507.       BeginProperty Font 
  508.          Name            =   "LcdD"
  509.          Size            =   12
  510.          Charset         =   0
  511.          Weight          =   400
  512.          Underline       =   0   'False
  513.          Italic          =   0   'False
  514.          Strikethrough   =   0   'False
  515.       EndProperty
  516.       ForeColor       =   &H00FFFFFF&
  517.       Height          =   495
  518.       Index           =   2
  519.       Left            =   240
  520.       TabIndex        =   15
  521.       Top             =   3120
  522.       Width           =   1695
  523.    End
  524.    Begin VB.Label lblMNU 
  525.       Alignment       =   2  'Center
  526.       BackStyle       =   0  'Transparent
  527.       Caption         =   "High Scores"
  528.       BeginProperty Font 
  529.          Name            =   "LcdD"
  530.          Size            =   12
  531.          Charset         =   0
  532.          Weight          =   400
  533.          Underline       =   0   'False
  534.          Italic          =   0   'False
  535.          Strikethrough   =   0   'False
  536.       EndProperty
  537.       ForeColor       =   &H00FFFFFF&
  538.       Height          =   495
  539.       Index           =   3
  540.       Left            =   240
  541.       TabIndex        =   14
  542.       Top             =   3720
  543.       Width           =   1695
  544.    End
  545.    Begin VB.Label lblMNU 
  546.       Alignment       =   2  'Center
  547.       BackStyle       =   0  'Transparent
  548.       Caption         =   "Instructions"
  549.       BeginProperty Font 
  550.          Name            =   "LcdD"
  551.          Size            =   12
  552.          Charset         =   0
  553.          Weight          =   400
  554.          Underline       =   0   'False
  555.          Italic          =   0   'False
  556.          Strikethrough   =   0   'False
  557.       EndProperty
  558.       ForeColor       =   &H00FFFFFF&
  559.       Height          =   495
  560.       Index           =   4
  561.       Left            =   240
  562.       TabIndex        =   13
  563.       Top             =   4320
  564.       Width           =   1695
  565.    End
  566.    Begin VB.Label lblMNU 
  567.       Alignment       =   2  'Center
  568.       BackStyle       =   0  'Transparent
  569.       Caption         =   "Music"
  570.       BeginProperty Font 
  571.          Name            =   "LcdD"
  572.          Size            =   12
  573.          Charset         =   0
  574.          Weight          =   400
  575.          Underline       =   0   'False
  576.          Italic          =   0   'False
  577.          Strikethrough   =   0   'False
  578.       EndProperty
  579.       ForeColor       =   &H00FFFFFF&
  580.       Height          =   495
  581.       Index           =   1
  582.       Left            =   240
  583.       TabIndex        =   12
  584.       Top             =   2520
  585.       Width           =   1695
  586.    End
  587.    Begin VB.Label lblMNU 
  588.       Alignment       =   2  'Center
  589.       BackStyle       =   0  'Transparent
  590.       Caption         =   "New Game"
  591.       BeginProperty Font 
  592.          Name            =   "LcdD"
  593.          Size            =   12
  594.          Charset         =   0
  595.          Weight          =   400
  596.          Underline       =   0   'False
  597.          Italic          =   0   'False
  598.          Strikethrough   =   0   'False
  599.       EndProperty
  600.       ForeColor       =   &H00FFFFFF&
  601.       Height          =   495
  602.       Index           =   0
  603.       Left            =   240
  604.       TabIndex        =   11
  605.       Top             =   1920
  606.       Width           =   1695
  607.    End
  608.    Begin VB.Image S3 
  609.       Height          =   255
  610.       Index           =   3
  611.       Left            =   3120
  612.       Stretch         =   -1  'True
  613.       Top             =   3600
  614.       Width           =   255
  615.    End
  616.    Begin VB.Image S3 
  617.       Height          =   255
  618.       Index           =   2
  619.       Left            =   3120
  620.       Stretch         =   -1  'True
  621.       Top             =   3840
  622.       Width           =   255
  623.    End
  624.    Begin VB.Image S3 
  625.       Height          =   255
  626.       Index           =   1
  627.       Left            =   3360
  628.       Stretch         =   -1  'True
  629.       Top             =   3840
  630.       Width           =   255
  631.    End
  632.    Begin VB.Image S4 
  633.       Height          =   255
  634.       Index           =   3
  635.       Left            =   3120
  636.       Stretch         =   -1  'True
  637.       Top             =   4800
  638.       Width           =   255
  639.    End
  640.    Begin VB.Image S4 
  641.       Height          =   255
  642.       Index           =   2
  643.       Left            =   3120
  644.       Stretch         =   -1  'True
  645.       Top             =   4560
  646.       Width           =   255
  647.    End
  648.    Begin VB.Image S4 
  649.       Height          =   255
  650.       Index           =   1
  651.       Left            =   3120
  652.       Stretch         =   -1  'True
  653.       Top             =   4320
  654.       Width           =   255
  655.    End
  656.    Begin VB.Image S5 
  657.       Height          =   255
  658.       Index           =   3
  659.       Left            =   3360
  660.       Stretch         =   -1  'True
  661.       Top             =   5880
  662.       Width           =   255
  663.    End
  664.    Begin VB.Image S5 
  665.       Height          =   255
  666.       Index           =   2
  667.       Left            =   3120
  668.       Stretch         =   -1  'True
  669.       Top             =   5640
  670.       Width           =   255
  671.    End
  672.    Begin VB.Image S5 
  673.       Height          =   255
  674.       Index           =   1
  675.       Left            =   3120
  676.       Stretch         =   -1  'True
  677.       Top             =   5400
  678.       Width           =   255
  679.    End
  680.    Begin VB.Image S6 
  681.       Height          =   255
  682.       Index           =   3
  683.       Left            =   3120
  684.       Stretch         =   -1  'True
  685.       Top             =   6720
  686.       Width           =   255
  687.    End
  688.    Begin VB.Image S6 
  689.       Height          =   255
  690.       Index           =   2
  691.       Left            =   3120
  692.       Stretch         =   -1  'True
  693.       Top             =   6480
  694.       Width           =   255
  695.    End
  696.    Begin VB.Image S6 
  697.       Height          =   255
  698.       Index           =   1
  699.       Left            =   3120
  700.       Stretch         =   -1  'True
  701.       Top             =   6240
  702.       Width           =   255
  703.    End
  704.    Begin VB.Image S7 
  705.       Height          =   255
  706.       Index           =   3
  707.       Left            =   3120
  708.       Stretch         =   -1  'True
  709.       Top             =   7440
  710.       Width           =   255
  711.    End
  712.    Begin VB.Image S7 
  713.       Height          =   255
  714.       Index           =   2
  715.       Left            =   3120
  716.       Stretch         =   -1  'True
  717.       Top             =   7200
  718.       Width           =   255
  719.    End
  720.    Begin VB.Image S7 
  721.       Height          =   255
  722.       Index           =   1
  723.       Left            =   3360
  724.       Stretch         =   -1  'True
  725.       Top             =   7440
  726.       Width           =   255
  727.    End
  728.    Begin VB.Image S7 
  729.       Height          =   255
  730.       Index           =   0
  731.       Left            =   2880
  732.       Stretch         =   -1  'True
  733.       Top             =   7440
  734.       Width           =   255
  735.    End
  736.    Begin VB.Image S6 
  737.       Height          =   255
  738.       Index           =   0
  739.       Left            =   2880
  740.       Stretch         =   -1  'True
  741.       Top             =   6720
  742.       Width           =   255
  743.    End
  744.    Begin VB.Image S5 
  745.       Height          =   255
  746.       Index           =   0
  747.       Left            =   3120
  748.       Stretch         =   -1  'True
  749.       Top             =   5880
  750.       Width           =   255
  751.    End
  752.    Begin VB.Image S4 
  753.       Height          =   255
  754.       Index           =   0
  755.       Left            =   3120
  756.       Stretch         =   -1  'True
  757.       Top             =   5040
  758.       Width           =   255
  759.    End
  760.    Begin VB.Image S3 
  761.       Height          =   255
  762.       Index           =   0
  763.       Left            =   2880
  764.       Stretch         =   -1  'True
  765.       Top             =   3600
  766.       Width           =   255
  767.    End
  768.    Begin VB.Image S2 
  769.       Height          =   255
  770.       Index           =   3
  771.       Left            =   3120
  772.       Stretch         =   -1  'True
  773.       Top             =   2880
  774.       Width           =   255
  775.    End
  776.    Begin VB.Image S2 
  777.       Height          =   255
  778.       Index           =   2
  779.       Left            =   3360
  780.       Stretch         =   -1  'True
  781.       Top             =   2880
  782.       Width           =   255
  783.    End
  784.    Begin VB.Image S2 
  785.       Height          =   255
  786.       Index           =   1
  787.       Left            =   2880
  788.       Stretch         =   -1  'True
  789.       Top             =   3120
  790.       Width           =   255
  791.    End
  792.    Begin VB.Image S2 
  793.       Height          =   255
  794.       Index           =   0
  795.       Left            =   3120
  796.       Stretch         =   -1  'True
  797.       Top             =   3120
  798.       Width           =   255
  799.    End
  800.    Begin VB.Image S1 
  801.       Height          =   255
  802.       Index           =   3
  803.       Left            =   3120
  804.       Stretch         =   -1  'True
  805.       Top             =   2520
  806.       Width           =   255
  807.    End
  808.    Begin VB.Image S1 
  809.       Height          =   255
  810.       Index           =   2
  811.       Left            =   3360
  812.       Stretch         =   -1  'True
  813.       Top             =   2520
  814.       Width           =   255
  815.    End
  816.    Begin VB.Image S1 
  817.       Height          =   255
  818.       Index           =   1
  819.       Left            =   3120
  820.       Stretch         =   -1  'True
  821.       Top             =   2280
  822.       Width           =   255
  823.    End
  824.    Begin VB.Image S1 
  825.       Height          =   255
  826.       Index           =   0
  827.       Left            =   3360
  828.       Stretch         =   -1  'True
  829.       Top             =   2280
  830.       Width           =   255
  831.    End
  832.    Begin VB.Image imgA 
  833.       Height          =   255
  834.       Index           =   0
  835.       Left            =   0
  836.       Stretch         =   -1  'True
  837.       Top             =   0
  838.       Width           =   255
  839.    End
  840.    Begin VB.Image pic0 
  841.       Height          =   495
  842.       Left            =   5160
  843.       Top             =   6720
  844.       Width           =   1215
  845.    End
  846.    Begin VB.Image pic7 
  847.       Height          =   270
  848.       Left            =   5160
  849.       Picture         =   "frmTetris.frx":030A
  850.       Top             =   5520
  851.       Visible         =   0   'False
  852.       Width           =   270
  853.    End
  854.    Begin VB.Image pic6 
  855.       Height          =   270
  856.       Left            =   5520
  857.       Picture         =   "frmTetris.frx":071D
  858.       Top             =   5520
  859.       Visible         =   0   'False
  860.       Width           =   270
  861.    End
  862.    Begin VB.Image pic5 
  863.       Height          =   270
  864.       Left            =   5160
  865.       Picture         =   "frmTetris.frx":0B5A
  866.       Top             =   5760
  867.       Visible         =   0   'False
  868.       Width           =   270
  869.    End
  870.    Begin VB.Image pic4 
  871.       Height          =   270
  872.       Left            =   5880
  873.       Picture         =   "frmTetris.frx":0FCA
  874.       Top             =   5160
  875.       Visible         =   0   'False
  876.       Width           =   270
  877.    End
  878.    Begin VB.Image pic3 
  879.       Height          =   270
  880.       Left            =   5520
  881.       Picture         =   "frmTetris.frx":1433
  882.       Top             =   5160
  883.       Visible         =   0   'False
  884.       Width           =   270
  885.    End
  886.    Begin VB.Image pic2 
  887.       Height          =   270
  888.       Left            =   5160
  889.       Picture         =   "frmTetris.frx":1865
  890.       Top             =   5880
  891.       Visible         =   0   'False
  892.       Width           =   270
  893.    End
  894.    Begin VB.Image pic1 
  895.       Height          =   270
  896.       Left            =   5160
  897.       Picture         =   "frmTetris.frx":1CDD
  898.       Top             =   5160
  899.       Visible         =   0   'False
  900.       Width           =   270
  901.    End
  902.    Begin VB.Label lblSHP 
  903.       BackStyle       =   0  'Transparent
  904.       Caption         =   "0"
  905.       BeginProperty Font 
  906.          Name            =   "LcdD"
  907.          Size            =   12
  908.          Charset         =   0
  909.          Weight          =   400
  910.          Underline       =   0   'False
  911.          Italic          =   0   'False
  912.          Strikethrough   =   0   'False
  913.       EndProperty
  914.       ForeColor       =   &H0000FF00&
  915.       Height          =   495
  916.       Index           =   6
  917.       Left            =   3960
  918.       TabIndex        =   10
  919.       Top             =   7320
  920.       Width           =   735
  921.    End
  922.    Begin VB.Label lblSHP 
  923.       BackStyle       =   0  'Transparent
  924.       Caption         =   "0"
  925.       BeginProperty Font 
  926.          Name            =   "LcdD"
  927.          Size            =   12
  928.          Charset         =   0
  929.          Weight          =   400
  930.          Underline       =   0   'False
  931.          Italic          =   0   'False
  932.          Strikethrough   =   0   'False
  933.       EndProperty
  934.       ForeColor       =   &H0000FF00&
  935.       Height          =   495
  936.       Index           =   5
  937.       Left            =   3960
  938.       TabIndex        =   9
  939.       Top             =   6480
  940.       Width           =   735
  941.    End
  942.    Begin VB.Label lblSHP 
  943.       BackStyle       =   0  'Transparent
  944.       Caption         =   "0"
  945.       BeginProperty Font 
  946.          Name            =   "LcdD"
  947.          Size            =   12
  948.          Charset         =   0
  949.          Weight          =   400
  950.          Underline       =   0   'False
  951.          Italic          =   0   'False
  952.          Strikethrough   =   0   'False
  953.       EndProperty
  954.       ForeColor       =   &H0000FF00&
  955.       Height          =   495
  956.       Index           =   4
  957.       Left            =   3960
  958.       TabIndex        =   8
  959.       Top             =   5640
  960.       Width           =   735
  961.    End
  962.    Begin VB.Label lblSHP 
  963.       BackStyle       =   0  'Transparent
  964.       Caption         =   "0"
  965.       BeginProperty Font 
  966.          Name            =   "LcdD"
  967.          Size            =   12
  968.          Charset         =   0
  969.          Weight          =   400
  970.          Underline       =   0   'False
  971.          Italic          =   0   'False
  972.          Strikethrough   =   0   'False
  973.       EndProperty
  974.       ForeColor       =   &H0000FF00&
  975.       Height          =   495
  976.       Index           =   3
  977.       Left            =   3960
  978.       TabIndex        =   7
  979.       Top             =   4680
  980.       Width           =   735
  981.    End
  982.    Begin VB.Label lblSHP 
  983.       BackStyle       =   0  'Transparent
  984.       Caption         =   "0"
  985.       BeginProperty Font 
  986.          Name            =   "LcdD"
  987.          Size            =   12
  988.          Charset         =   0
  989.          Weight          =   400
  990.          Underline       =   0   'False
  991.          Italic          =   0   'False
  992.          Strikethrough   =   0   'False
  993.       EndProperty
  994.       ForeColor       =   &H0000FF00&
  995.       Height          =   495
  996.       Index           =   2
  997.       Left            =   3960
  998.       TabIndex        =   6
  999.       Top             =   3720
  1000.       Width           =   735
  1001.    End
  1002.    Begin VB.Label lblSHP 
  1003.       BackStyle       =   0  'Transparent
  1004.       Caption         =   "0"
  1005.       BeginProperty Font 
  1006.          Name            =   "LcdD"
  1007.          Size            =   12
  1008.          Charset         =   0
  1009.          Weight          =   400
  1010.          Underline       =   0   'False
  1011.          Italic          =   0   'False
  1012.          Strikethrough   =   0   'False
  1013.       EndProperty
  1014.       ForeColor       =   &H0000FF00&
  1015.       Height          =   495
  1016.       Index           =   1
  1017.       Left            =   3960
  1018.       TabIndex        =   5
  1019.       Top             =   3000
  1020.       Width           =   735
  1021.    End
  1022.    Begin VB.Label lblSHP 
  1023.       BackStyle       =   0  'Transparent
  1024.       Caption         =   "0"
  1025.       BeginProperty Font 
  1026.          Name            =   "LcdD"
  1027.          Size            =   12
  1028.          Charset         =   0
  1029.          Weight          =   400
  1030.          Underline       =   0   'False
  1031.          Italic          =   0   'False
  1032.          Strikethrough   =   0   'False
  1033.       EndProperty
  1034.       ForeColor       =   &H0000FF00&
  1035.       Height          =   495
  1036.       Index           =   0
  1037.       Left            =   3960
  1038.       TabIndex        =   4
  1039.       Top             =   2400
  1040.       Width           =   735
  1041.    End
  1042.    Begin VB.Label lblLevel 
  1043.       BackStyle       =   0  'Transparent
  1044.       Caption         =   "Level: 0"
  1045.       BeginProperty Font 
  1046.          Name            =   "LcdD"
  1047.          Size            =   12
  1048.          Charset         =   0
  1049.          Weight          =   400
  1050.          Underline       =   0   'False
  1051.          Italic          =   0   'False
  1052.          Strikethrough   =   0   'False
  1053.       EndProperty
  1054.       ForeColor       =   &H00FFFFFF&
  1055.       Height          =   495
  1056.       Left            =   2880
  1057.       TabIndex        =   3
  1058.       Top             =   1800
  1059.       Width           =   1695
  1060.    End
  1061.    Begin VB.Label lblLines 
  1062.       Alignment       =   2  'Center
  1063.       BackStyle       =   0  'Transparent
  1064.       Caption         =   "Lines: 0"
  1065.       BeginProperty Font 
  1066.          Name            =   "LcdD"
  1067.          Size            =   12
  1068.          Charset         =   0
  1069.          Weight          =   400
  1070.          Underline       =   0   'False
  1071.          Italic          =   0   'False
  1072.          Strikethrough   =   0   'False
  1073.       EndProperty
  1074.       ForeColor       =   &H00FFFFFF&
  1075.       Height          =   495
  1076.       Left            =   0
  1077.       TabIndex        =   2
  1078.       Top             =   7680
  1079.       Width           =   2415
  1080.    End
  1081.    Begin VB.Label lblScore 
  1082.       BackStyle       =   0  'Transparent
  1083.       Caption         =   "Score: 0"
  1084.       BeginProperty Font 
  1085.          Name            =   "LcdD"
  1086.          Size            =   12
  1087.          Charset         =   0
  1088.          Weight          =   400
  1089.          Underline       =   0   'False
  1090.          Italic          =   0   'False
  1091.          Strikethrough   =   0   'False
  1092.       EndProperty
  1093.       ForeColor       =   &H00FFFFFF&
  1094.       Height          =   495
  1095.       Left            =   2880
  1096.       TabIndex        =   1
  1097.       Top             =   1440
  1098.       Width           =   1695
  1099.    End
  1100.    Begin VB.Label lblA 
  1101.       Appearance      =   0  'Flat
  1102.       BackColor       =   &H00000000&
  1103.       ForeColor       =   &H000000FF&
  1104.       Height          =   255
  1105.       Index           =   0
  1106.       Left            =   0
  1107.       TabIndex        =   0
  1108.       Top             =   0
  1109.       Visible         =   0   'False
  1110.       Width           =   255
  1111.    End
  1112.    Begin VB.Label lblB 
  1113.       BackColor       =   &H00808080&
  1114.       Height          =   1215
  1115.       Left            =   2280
  1116.       TabIndex        =   37
  1117.       Top             =   0
  1118.       Width           =   2775
  1119.    End
  1120. Attribute VB_Name = "frmTetris"
  1121. Attribute VB_GlobalNameSpace = False
  1122. Attribute VB_Creatable = False
  1123. Attribute VB_PredeclaredId = True
  1124. Attribute VB_Exposed = False
  1125. Dim ZAT
  1126. Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
  1127. If xMIKI = 0 And KeyCode = 88 Then xMIKI = 1
  1128. If xMIKI = 1 And KeyCode = 77 Then xMIKI = 2
  1129. If xMIKI = 2 And KeyCode = 73 Then xMIKI = 3
  1130. If xMIKI = 3 And KeyCode = 67 Then xMIKI = 4
  1131. If xMIKI = 4 And KeyCode = 72 Then xMIKI = 5
  1132. If xMIKI = 5 And KeyCode = 69 Then xMIKI = 6
  1133. If xMIKI = 6 And KeyCode = 76 Then xMIKI = 7
  1134. If xMIKI = 7 And KeyCode = 76 Then xMIKI = 8
  1135. If xMIKI = 8 And KeyCode = 69 Then xMIKI = 9
  1136. If xMIKI = 9 And KeyCode = 89 Then xMIKI = 10
  1137. If xMIKI = 10 Then Call MichelleX
  1138. 'end egg
  1139. 'display my menu stuff(way too complex...i should have commented while i was writing this)
  1140. If MENUview = True Then
  1141.     If MENUnum < 2 Then
  1142.         If KeyCode = 40 Then MENUsel = MENUsel + 1
  1143.         If KeyCode = 38 Then MENUsel = MENUsel - 1
  1144.     End If
  1145.     If MENUnum = 0 Then
  1146.         If KeyCode = 13 Then
  1147.             If MENUsel = 0 Then
  1148.                 MENUview = False
  1149.                 Call NewGame
  1150.             End If
  1151.             If MENUsel = 1 Then
  1152.                 MENUnum = 1
  1153.                 MENUsel = 0
  1154.                 Exit Sub
  1155.             End If
  1156.             If MENUsel = 2 Then
  1157.                 MENUview = False
  1158.                 tmrA.Interval = INTY
  1159.                 Exit Sub
  1160.             End If
  1161.             If MENUsel = 3 Then
  1162.                 MENUsel = 5
  1163.                 MENUnum = 2
  1164.                 Call ScoreLoad
  1165.                 Exit Sub
  1166.             End If
  1167.             If MENUsel = 4 Then
  1168.                 MENUsel = 4
  1169.                 MENUnum = 3
  1170.                 Exit Sub
  1171.             End If
  1172.             If MENUsel = 5 Then End
  1173.         End If
  1174.         If MENUsel < 0 Then MENUsel = 5
  1175.         If MENUsel > 5 Then MENUsel = 0
  1176.     End If
  1177.     If MENUnum = 1 Then
  1178.         If KeyCode = 37 Then
  1179.             If MENUsel = 0 Then
  1180.                 If VOL > 0 Then VOL = VOL - 1
  1181.                 lblMUS(0).Caption = "Volume " & VOL & "%"
  1182.                 frmTetris2.MP.Volume = (VOL * 50) - 5000
  1183.             End If
  1184.             If MENUsel = 1 Then
  1185.                 On Error Resume Next
  1186.                 SONGnum = SONGnum - 1
  1187.                 If SONGnum < 0 Then SONGnum = SONGtotal
  1188.                 frmTetris2.MP.FileName = SONGpath(SONGnum)
  1189.                 lblMUS(1).Caption = SONGname(SONGnum)
  1190.             End If
  1191.         End If
  1192.         If KeyCode = 39 Then
  1193.             If MENUsel = 0 Then
  1194.                 If VOL < 100 Then VOL = VOL + 1
  1195.                 lblMUS(0).Caption = "Volume " & VOL & "%"
  1196.                 frmTetris2.MP.Volume = (VOL * 50) - 5000
  1197.             End If
  1198.             If MENUsel = 1 Then
  1199.                 On Error Resume Next
  1200.                 SONGnum = SONGnum + 1
  1201.                 If SONGnum > SONGtotal Then SONGnum = 0
  1202.                 frmTetris2.MP.FileName = SONGpath(SONGnum)
  1203.                 lblMUS(1).Caption = SONGname(SONGnum)
  1204.             End If
  1205.         End If
  1206.         If KeyCode = 13 Then
  1207.             If MENUsel = 2 Then
  1208.                 MENUnum = 0
  1209.                 MENUsel = 0
  1210.                 Exit Sub
  1211.             End If
  1212.         End If
  1213.         If MENUsel < 0 Then MENUsel = 2
  1214.         If MENUsel > 2 Then MENUsel = 0
  1215.     End If
  1216.     If MENUnum = 2 And MENUsel > 5 Then
  1217.         If KeyCode = 8 Then
  1218.             On Error Resume Next
  1219.             lblSC(MENUsel).Caption = Left(lblSC(MENUsel).Caption, Len(lblSC(MENUsel).Caption) - 2) & "_"
  1220.             Exit Sub
  1221.         End If
  1222.         If KeyCode = 13 Then
  1223.             NAM(MENUsel - 6) = Left(lblSC(MENUsel).Caption, Len(lblSC(MENUsel).Caption) - 1)
  1224.             lblSC(MENUsel).Caption = Left(lblSC(MENUsel).Caption, Len(lblSC(MENUsel).Caption) - 1)
  1225.             Call WriteFile
  1226.             MENUsel = 5
  1227.             Exit Sub
  1228.         End If
  1229.         lblSC(MENUsel).Caption = Left(lblSC(MENUsel).Caption, Len(lblSC(MENUsel).Caption) - 1) & Chr(KeyCode) & "_"
  1230.     End If
  1231.     If MENUnum = 2 And MENUsel = 5 And KeyCode = 13 Then
  1232.         MENUsel = 0
  1233.         MENUnum = 0
  1234.     End If
  1235.     If MENUnum = 3 Then
  1236.         MENUsel = 4
  1237.         If KeyCode = 13 Then
  1238.             MENUsel = 0
  1239.             MENUnum = 0
  1240.             Exit Sub
  1241.         End If
  1242.     End If
  1243. End If
  1244. If MENUview = True Then Exit Sub
  1245. If KeyCode = 27 Or KeyCode = 80 Then 'pause the game
  1246.     tmrA.Interval = 0
  1247.     MENUview = True
  1248.     MENUsel = 2
  1249.     MENUnum = 0
  1250.     tmrMENU.Interval = 100
  1251. End If
  1252. If KeyCode = 65 Then Call GoSpin 'spin
  1253. If KeyCode = 37 Then Call GoLeft 'move piece left
  1254. If KeyCode = 39 Then Call GoRight 'move piece right
  1255. If KeyCode = 40 Then Call GoDown 'move piece down
  1256. If KeyCode = 83 Then Call GoSpin2 'spin opposite direction
  1257. End Sub
  1258. Private Sub Form_Load()
  1259. For z = 1 To 299 'load image array(no pics yet) and put them in right places
  1260.     Load imgA(z)
  1261.     imgA(z).Left = (z Mod 10) * 255
  1262.     imgA(z).Top = (z \ 10) * 255
  1263.     imgA(z).Stretch = True
  1264.     imgA(z).Visible = True
  1265. Next z
  1266. Load lblA(1)
  1267. lblA(1).Height = imgA(299).Top + imgA(299).Height
  1268. lblA(1).Width = imgA(299).Left + imgA(299).Width
  1269. lblA(1).Visible = True
  1270. lblB.Left = lblA(1).Width
  1271. For z = 300 To 339 'make sure bottom rows are occupied(needed to prevent errors when making sure a move/spin is legal)
  1272.     SP(z) = 30
  1273. Next z
  1274. For z = 0 To 3
  1275.     S1(z).Picture = pic1.Picture
  1276.     S2(z).Picture = pic2.Picture
  1277.     S3(z).Picture = pic3.Picture
  1278.     S4(z).Picture = pic4.Picture
  1279.     S5(z).Picture = pic5.Picture
  1280.     S6(z).Picture = pic6.Picture
  1281.     S7(z).Picture = pic7.Picture
  1282. Next z
  1283. MENUview = True
  1284. MENUsel = 0
  1285. MENUnum = 0
  1286. VOL = 100
  1287. INTY = 1000
  1288. Call SONGset 'play some music
  1289. If Dir$(App.Path & "\tet.dat") = "" Then Call WriteDefault 'if first time using, make default high scores file
  1290. Call OpenFile
  1291. End Sub
  1292. Private Sub Form_Unload(Cancel As Integer)
  1293. End Sub
  1294. Private Sub tmrA_Timer()
  1295. Call GoDown 'move piece down
  1296. End Sub
  1297. Private Sub tmrMENU_Timer() 'more menu stuff
  1298. ZAT = ZAT + 1
  1299. If ZAT = 4 Then ZAT = 0
  1300. If MENUnum = 0 Then
  1301.     For z = 0 To 4
  1302.         lblINS(z).Visible = False
  1303.     Next z
  1304.     For z = 0 To 2
  1305.         lblMUS(z).Visible = False
  1306.     Next z
  1307.     For z = 0 To 10
  1308.         lblSC(z).Visible = False
  1309.     Next z
  1310.     For z = 0 To 5
  1311.         lblMNU(z).Visible = True
  1312.         If MENUsel = z Then
  1313.             If ZAT = 0 Then lblMNU(z).FontSize = 12
  1314.             If ZAT = 1 Then lblMNU(z).FontSize = 14
  1315.             If ZAT = 2 Then lblMNU(z).FontSize = 16
  1316.             If ZAT = 3 Then lblMNU(z).FontSize = 14
  1317.         Else
  1318.             lblMNU(z).FontSize = 12
  1319.         End If
  1320.     Next z
  1321.     If MENUview = False Then
  1322.         For z = 0 To 2
  1323.             lblMUS(z).Visible = False
  1324.         Next z
  1325.         For z = 0 To 5
  1326.             lblMNU(z).Visible = False
  1327.         Next z
  1328.         tmrMENU.Interval = 0
  1329.     End If
  1330. End If
  1331. If MENUnum = 1 Then
  1332.     For z = 0 To 4
  1333.         lblINS(z).Visible = False
  1334.     Next z
  1335.     For z = 0 To 5
  1336.         lblMNU(z).Visible = False
  1337.     Next z
  1338.     For z = 0 To 10
  1339.         lblSC(z).Visible = False
  1340.     Next z
  1341.     For z = 0 To 2
  1342.         lblMUS(z).Visible = True
  1343.         If MENUsel = z Then
  1344.             If ZAT = 0 Then lblMUS(z).FontSize = 12
  1345.             If ZAT = 1 Then lblMUS(z).FontSize = 14
  1346.             If ZAT = 2 Then lblMUS(z).FontSize = 16
  1347.             If ZAT = 3 Then lblMUS(z).FontSize = 14
  1348.         Else
  1349.             lblMUS(z).FontSize = 12
  1350.         End If
  1351.     Next z
  1352. End If
  1353. If MENUnum = 2 Then
  1354.     For z = 0 To 4
  1355.         lblINS(z).Visible = False
  1356.     Next z
  1357.     For z = 0 To 5
  1358.         lblMNU(z).Visible = False
  1359.     Next z
  1360.     For z = 0 To 2
  1361.         lblMUS(z).Visible = False
  1362.     Next z
  1363.     For z = 0 To 10
  1364.         lblSC(z).Visible = True
  1365.         If lblSC(z).Caption = "_" Then MENUsel = z
  1366.         If MENUsel = z Then
  1367.             If ZAT = 0 Then lblSC(z).FontSize = 12
  1368.             If ZAT = 1 Then lblSC(z).FontSize = 14
  1369.             If ZAT = 2 Then lblSC(z).FontSize = 16
  1370.             If ZAT = 3 Then lblSC(z).FontSize = 14
  1371.         Else
  1372.             lblSC(z).FontSize = 12
  1373.         End If
  1374.     Next z
  1375. End If
  1376. If MENUnum = 3 Then
  1377.     For z = 0 To 5
  1378.         lblMNU(z).Visible = False
  1379.     Next z
  1380.     For z = 0 To 2
  1381.         lblMUS(z).Visible = False
  1382.     Next z
  1383.     For z = 0 To 10
  1384.         lblSC(z).Visible = False
  1385.     Next z
  1386.     For z = 0 To 4
  1387.         lblINS(z).Visible = True
  1388.         If MENUsel = z Then
  1389.             If ZAT = 0 Then lblINS(z).FontSize = 12
  1390.             If ZAT = 1 Then lblINS(z).FontSize = 14
  1391.             If ZAT = 2 Then lblINS(z).FontSize = 16
  1392.             If ZAT = 3 Then lblINS(z).FontSize = 14
  1393.         Else
  1394.             lblINS(z).FontSize = 12
  1395.         End If
  1396.     Next z
  1397. End If
  1398. End Sub
  1399.