home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form multi_form
- BackColor = &H00C0C0C0&
- BorderStyle = 1 'Fixed Single
- Caption = "Select Type"
- ClientHeight = 1860
- ClientLeft = 3255
- ClientTop = 3195
- ClientWidth = 2655
- ClipControls = 0 'False
- ControlBox = 0 'False
- Height = 2265
- Left = 3195
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 1860
- ScaleWidth = 2655
- Top = 2850
- Width = 2775
- Begin CommandButton multi_cancel
- Caption = "Cancel"
- Height = 345
- Left = 1440
- TabIndex = 3
- Top = 1410
- Width = 825
- End
- Begin CommandButton multi_ok
- Caption = "OK"
- Height = 345
- Left = 390
- TabIndex = 2
- Top = 1410
- Width = 825
- End
- Begin SSPanel Panel3D1
- Align = 1 'Align Top
- Alignment = 6 'Center - TOP
- AutoSize = 3 'AutoSize Child To Panel
- BackColor = &H00C0C0C0&
- BevelInner = 1 'Inset
- Caption = "Panel3D1"
- Font3D = 1 'Raised w/light shading
- ForeColor = &H00000000&
- Height = 1260
- Left = 0
- TabIndex = 0
- Top = 0
- Width = 2655
- Begin ListBox type_list
- BackColor = &H00FFFFFF&
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "Terminal"
- FontSize = 9
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 1110
- Left = 75
- Sorted = -1 'True
- TabIndex = 1
- Top = 75
- Width = 2505
- End
- End
- Sub Form_Activate ()
- For x = 1 To Len(tag)
- c$ = Mid$(tag, x, 1)
- Select Case c$
- Case Chr$(0)
- type_list.AddItem e$
- Exit For
- Case ","
- type_list.AddItem e$
- e$ = ""
- Case Else
- e$ = e$ + UCase$(c$)
- End Select
- Next x
- If e$ <> "" Then
- type_list.AddItem e$
- End If
- End Sub
- Sub multi_cancel_Click ()
- tag = "CANCEL"
- multi_form.Hide
- End Sub
- Sub multi_ok_click ()
- If type_list.ListIndex = -1 Then
- MsgBox ("Please select a document type")
- Exit Sub
- End If
- tag = type_list.Text
- multi_form.Hide
- End Sub
- Sub type_list_DblClick ()
- multi_ok_click
- End Sub
-