home *** CD-ROM | disk | FTP | other *** search
- VERSION 4.00
- Begin VB.Form fOptions
- BorderStyle = 3 'Fixed Dialog
- ClientHeight = 3825
- ClientLeft = 1110
- ClientTop = 1590
- ClientWidth = 6225
- ControlBox = 0 'False
- BeginProperty Font
- name = "MS Sans Serif"
- charset = 0
- weight = 700
- size = 8.25
- underline = 0 'False
- italic = 0 'False
- strikethrough = 0 'False
- EndProperty
- ForeColor = &H80000008&
- Height = 4230
- Left = 1050
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 3825
- ScaleWidth = 6225
- Top = 1245
- Width = 6345
- Begin VB.CommandButton cmdClose
- Caption = "CLOSE"
- Height = 495
- Left = 4920
- TabIndex = 0
- Top = 3240
- Width = 1215
- End
- Begin VB.OptionButton optOption
- Height = 255
- Index = 0
- Left = 120
- TabIndex = 1
- Top = 120
- Width = 4695
- End
- Attribute VB_Name = "fOptions"
- Attribute VB_Creatable = False
- Attribute VB_Exposed = False
- Option Explicit
- Private Sub cmdClose_Click()
- igOptionSW = 1
- End Sub
- Private Sub Form_Load()
- Dim i As Integer
- For i = LBound(sgOptionArray) To UBound(sgOptionArray)
- If i > 0 Then
- Load optOption(i)
- optOption(i).Left = optOption(i - 1).Left
- optOption(i).Top = optOption(i - 1).Top + optOption(i - 1).Height
- End If
- optOption(i).Caption = sgOptionArray(i)
- optOption(i).Visible = True
- Next i
- fOptions.Height = optOption(UBound(sgOptionArray)).Top + (optOption(UBound(sgOptionArray)).Height * 3)
- cmdClose.Top = fOptions.Height - cmdClose.Height - 240
- optOption(Abs(igOptionState)).Value = True
- ReDim sgOptionArray(0)
- sgOptionArray(0) = ""
- fOptions.Top = (Screen.Height - fOptions.Height) / 2
- fOptions.Left = (Screen.Width - fOptions.Width) / 2
- End Sub
-
- Private Sub optOption_Click(index As Integer)
- igOptionChosen = index
- End Sub
-