VERSION 5.00 Begin VB.Form Form31 BorderStyle = 4 'Fixed ToolWindow Caption = "Oxides" ClientHeight = 1440 ClientLeft = 45 ClientTop = 300 ClientWidth = 5100 LinkTopic = "Form2" MaxButton = 0 'False MDIChild = -1 'True MinButton = 0 'False ScaleHeight = 1440 ScaleWidth = 5100 ShowInTaskbar = 0 'False Begin VB.CommandButton Command4 Caption = "Clear All" BeginProperty Font Name = "MS Sans Serif" Size = 9.75 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 375 Left = 120 TabIndex = 12 Top = 960 Width = 1695 End Begin VB.CommandButton Command3 Caption = "Select All" BeginProperty Font Name = "MS Sans Serif" Size = 9.75 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 375 Left = 1920 TabIndex = 11 Top = 960 Width = 1335 End Begin VB.CommandButton Command2 Caption = "OK (SpBar)" BeginProperty Font Name = "MS Sans Serif" Size = 9.75 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 375 Left = 3360 TabIndex = 1 Top = 960 Width = 1575 End Begin VB.CommandButton Command1 BackColor = &H000000FF& Caption = "P2O5" BeginProperty Font Name = "Arial" Size = 11.25 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 375 Index = 9 Left = 3960 MaskColor = &H00C0E0FF& Style = 1 'Graphical TabIndex = 10 Top = 480 Width = 975 End Begin VB.CommandButton Command1 BackColor = &H000000FF& Caption = "K2O" BeginProperty Font Name = "Arial" Size = 11.25 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 375 Index = 8 Left = 3000 MaskColor = &H00C0E0FF& Style = 1 'Graphical TabIndex = 9 Top = 480 Width = 975 End Begin VB.CommandButton Command1 BackColor = &H000000FF& Caption = "Na2O" BeginProperty Font Name = "Arial" Size = 11.25 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 375 Index = 7 Left = 2040 MaskColor = &H00C0E0FF& Style = 1 'Graphical TabIndex = 8 Top = 480 Width = 975 End Begin VB.CommandButton Command1 BackColor = &H000000FF& Caption = "CaO" BeginProperty Font Name = "Arial" Size = 11.25 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 375 Index = 6 Left = 1080 MaskColor = &H00C0E0FF& Style = 1 'Graphical TabIndex = 7 Top = 480 Width = 975 End Begin VB.CommandButton Command1 BackColor = &H000000FF& Caption = "MgO" BeginProperty Font Name = "Arial" Size = 11.25 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 375 Index = 5 Left = 120 MaskColor = &H00C0E0FF& Style = 1 'Graphical TabIndex = 6 Top = 480 Width = 975 End Begin VB.CommandButton Command1 BackColor = &H000000FF& Caption = "MnO" BeginProperty Font Name = "Arial" Size = 11.25 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 375 Index = 4 Left = 3960 MaskColor = &H00C0E0FF& Style = 1 'Graphical TabIndex = 5 Top = 120 Width = 975 End Begin VB.CommandButton Command1 BackColor = &H000000FF& Caption = "FeOtot" BeginProperty Font Name = "Arial" Size = 11.25 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 375 Index = 3 Left = 3000 MaskColor = &H00C0E0FF& Style = 1 'Graphical TabIndex = 4 Top = 120 Width = 975 End Begin VB.CommandButton Command1 BackColor = &H000000FF& Caption = "Al2O3" BeginProperty Font Name = "Arial" Size = 11.25 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 375 Index = 2 Left = 2040 MaskColor = &H00C0E0FF& Style = 1 'Graphical TabIndex = 3 Top = 120 Width = 975 End Begin VB.CommandButton Command1 BackColor = &H000000FF& Caption = "TiO2" BeginProperty Font Name = "Arial" Size = 11.25 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 375 Index = 1 Left = 1080 MaskColor = &H00C0E0FF& Style = 1 'Graphical TabIndex = 2 Top = 120 Width = 975 End Begin VB.CommandButton Command1 BackColor = &H000000FF& Caption = "SiO2" BeginProperty Font Name = "Arial" Size = 11.25 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 375 Index = 0 Left = 120 MaskColor = &H00C0E0FF& Style = 1 'Graphical TabIndex = 0 Top = 120 Width = 975 End End Attribute VB_Name = "Form31" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False Private Sub Command1_Click(Index As Integer) Form31.Command2.SetFocus If Command1(Index).BackColor = QBColor(12) Then Command1(Index).BackColor = QBColor(3) Exit Sub End If If Command1(Index).BackColor = QBColor(3) Then Command1(Index).BackColor = QBColor(12) Exit Sub End If End Sub Private Sub Command2_Click() StroMagma = False For ia = 1 To 11 Form30.Label1(ia).Visible = False Next ia NumOx = 0 For ia = 0 To 9 If Command1(ia).BackColor = QBColor(3) Then NumOx = NumOx + 1 OX(NumOx) = Command1(ia).Caption End If Next ia For ia = 1 To NumOx Form30.Label1(ia).Visible = True Form30.Label1(ia).Caption = OX(ia) Next ia Form30.Label1(NumOx + 1).Visible = True Form30.Label1(NumOx + 1).Caption = "TOT" Unload Form31 If NumOx > 0 Then StroMagma = True End If End Sub Private Sub Command3_Click() Form31.Command2.SetFocus For ia = 0 To 9 Command1(ia).BackColor = QBColor(3) Next ia End Sub Private Sub Command4_Click() Form31.Command2.SetFocus For ia = 0 To 9 Command1(ia).BackColor = QBColor(12) Next ia End Sub