home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form frm7_3_3
- Caption = "Year"
- ClientHeight = 3615
- ClientLeft = 1095
- ClientTop = 1485
- ClientWidth = 1680
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- LinkTopic = "Form1"
- PaletteMode = 1 'UseZOrder
- ScaleHeight = 3615
- ScaleWidth = 1680
- Begin VB.TextBox txtInfo
- Height = 285
- Index = 0
- Left = 600
- TabIndex = 1
- Top = 120
- Width = 975
- End
- Begin VB.Label lblMonth
- Caption = "Jan"
- Height = 255
- Index = 0
- Left = 120
- TabIndex = 0
- Top = 120
- Width = 375
- End
- Attribute VB_Name = "frm7_3_3"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Sub Form_Load()
- Dim i As Integer, monthNames As String
- monthNames = "FebMarAprMayJunJulAugSepOctNovDec"
- For i = 1 To 11
- Load lblMonth(i)
- Load txtInfo(i)
- lblMonth(i).Top = lblMonth(i - 1).Top + txtInfo(0).Height
- txtInfo(i).Top = txtInfo(i - 1).Top + txtInfo(0).Height
- lblMonth(i).Caption = Mid(monthNames, 3 * i - 2, 3)
- lblMonth(i).Visible = True
- txtInfo(i).Visible = True
- Next i
- End Sub
-