Caption = "This is a new WAIS information source. Press the button below to add this source to your list of available sources. You may edit the entries to the left prior to pressing the ADD button."
Height = 1725
Left = 60
TabIndex = 26
Top = 60
Width = 2265
End
End
Begin SSPanel Panel3D1
Alignment = 6 'Center - TOP
BackColor = &H00C0C0C0&
BevelOuter = 1 'Inset
Font3D = 1 'Raised w/light shading
ForeColor = &H00000000&
Height = 465
Left = 1110
Outline = -1 'True
TabIndex = 30
Top = 810
Width = 855
Begin TextBox s_add_prefix
BackColor = &H00FFFFFF&
FontBold = 0 'False
FontItalic = 0 'False
FontName = "Terminal"
FontSize = 9
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 345
Left = 60
TabIndex = 31
Top = 60
Width = 735
End
End
Begin SSPanel Panel3D14
BackColor = &H00C0C0C0&
BevelOuter = 1 'Inset
Caption = "Source Group"
Font3D = 0 'None
ForeColor = &H00000000&
Height = 435
Left = 150
Outline = -1 'True
TabIndex = 29
Top = 390
Width = 975
End
Begin SSPanel Panel3D15
Alignment = 6 'Center - TOP
BackColor = &H00C0C0C0&
BevelOuter = 1 'Inset
Font3D = 1 'Raised w/light shading
ForeColor = &H00000000&
Height = 435
Left = 1110
Outline = -1 'True
TabIndex = 27
Top = 390
Width = 5925
Begin ComboBox source_groups
Height = 300
Left = 60
TabIndex = 28
Text = "source_groups"
Top = 60
Width = 5775
End
End
Begin SSPanel Panel3D3
BackColor = &H00C0C0C0&
BevelOuter = 1 'Inset
Caption = "Source Name"
Font3D = 0 'None
ForeColor = &H00000000&
Height = 465
Left = 150
Outline = -1 'True
TabIndex = 23
Top = 810
Width = 975
End
Begin SSPanel Panel3D4
BackColor = &H00C0C0C0&
BevelOuter = 1 'Inset
Caption = "Port"
Font3D = 0 'None
ForeColor = &H00000000&
Height = 465
Left = 150
Outline = -1 'True
TabIndex = 22
Top = 1260
Width = 975
End
Begin SSPanel Panel3D5
BackColor = &H00C0C0C0&
BevelOuter = 1 'Inset
Caption = "Server"
Font3D = 0 'None
ForeColor = &H00000000&
Height = 465
Left = 150
Outline = -1 'True
TabIndex = 20
Top = 1710
Width = 975
Begin SSPanel Panel3D9
BackColor = &H00C0C0C0&
BevelOuter = 1 'Inset
Caption = "Panel3D9"
Font3D = 1 'Raised w/light shading
ForeColor = &H00000000&
Height = 195
Left = 1020
Outline = -1 'True
TabIndex = 21
Top = 60
Width = 5955
End
End
Begin SSPanel Panel3D6
BackColor = &H00C0C0C0&
BevelOuter = 1 'Inset
Caption = "Database Name"
Font3D = 0 'None
ForeColor = &H00000000&
Height = 465
Left = 150
Outline = -1 'True
TabIndex = 19
Top = 2160
Width = 975
End
Begin SSPanel Panel3D7
Alignment = 6 'Center - TOP
BackColor = &H00C0C0C0&
BevelOuter = 1 'Inset
Font3D = 1 'Raised w/light shading
ForeColor = &H00000000&
Height = 495
Left = 1950
Outline = -1 'True
TabIndex = 17
Top = 780
Width = 5085
Begin TextBox s_add_title
BackColor = &H00FFFFFF&
FontBold = 0 'False
FontItalic = 0 'False
FontName = "Terminal"
FontSize = 9
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 345
Left = 30
TabIndex = 18
Top = 90
Width = 4995
End
End
Begin SSPanel Panel3D8
Alignment = 6 'Center - TOP
BackColor = &H00C0C0C0&
BevelOuter = 1 'Inset
Font3D = 1 'Raised w/light shading
ForeColor = &H00000000&
Height = 465
Left = 1110
Outline = -1 'True
TabIndex = 15
Top = 1260
Width = 855
Begin TextBox s_add_port
BackColor = &H00FFFFFF&
FontBold = 0 'False
FontItalic = 0 'False
FontName = "Terminal"
FontSize = 9
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 375
Left = 60
TabIndex = 16
Top = 30
Width = 735
End
End
Begin SSPanel Panel3D10
BackColor = &H00C0C0C0&
BevelOuter = 1 'Inset
Caption = "Panel3D10"
Font3D = 1 'Raised w/light shading
ForeColor = &H00000000&
Height = 465
Left = 1110
Outline = -1 'True
TabIndex = 13
Top = 1710
Width = 5925
Begin TextBox s_add_server
BackColor = &H00FFFFFF&
FontBold = 0 'False
FontItalic = 0 'False
FontName = "Terminal"
FontSize = 9
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 345
Left = 60
TabIndex = 14
Top = 60
Width = 5805
End
End
Begin SSPanel Panel3D11
BackColor = &H00C0C0C0&
BevelOuter = 1 'Inset
Caption = "Panel3D11"
Font3D = 1 'Raised w/light shading
ForeColor = &H00000000&
Height = 465
Left = 1110
Outline = -1 'True
TabIndex = 11
Top = 2160
Width = 5925
Begin TextBox s_add_database
BackColor = &H00FFFFFF&
FontBold = 0 'False
FontItalic = 0 'False
FontName = "Terminal"
FontSize = 9
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 345
Left = 60
TabIndex = 12
Top = 30
Width = 5805
End
End
End
Begin SSPanel button_frame
Align = 1 'Align Top
BackColor = &H00808080&
Font3D = 1 'Raised w/light shading
ForeColor = &H00000000&
Height = 555
Left = 0
Outline = -1 'True
TabIndex = 0
Top = 0
Width = 9525
Begin SSCommand add_section_bbox
AutoSize = 1 'Adjust Picture Size To Button
BevelWidth = 1
Font3D = 0 'None
Height = 420
Left = 4110
Picture = WSRC.FRX:0000
TabIndex = 9
Top = 90
Width = 450
End
Begin SSCommand copy_bbox
AutoSize = 1 'Adjust Picture Size To Button
BevelWidth = 1
Font3D = 0 'None
Height = 390
Left = 3570
Picture = WSRC.FRX:0182
TabIndex = 8
Top = 90
Width = 420
End
Begin SSCommand prev_in_order_bbox
AutoSize = 1 'Adjust Picture Size To Button
BevelWidth = 1
Font3D = 0 'None
Height = 390
Left = 3030
Picture = WSRC.FRX:0304
TabIndex = 7
Top = 90
Width = 420
End
Begin SSCommand prev_listed_bbox
AutoSize = 1 'Adjust Picture Size To Button
BevelWidth = 1
Font3D = 0 'None
Height = 390
Left = 2610
Picture = WSRC.FRX:0486
TabIndex = 6
Top = 90
Width = 420
End
Begin SSCommand next_in_order_bbox
AutoSize = 1 'Adjust Picture Size To Button
BevelWidth = 1
Font3D = 0 'None
Height = 390
Left = 2130
Picture = WSRC.FRX:0608
TabIndex = 5
Top = 90
Width = 420
End
Begin SSCommand next_listed_bbox
AutoSize = 1 'Adjust Picture Size To Button
BevelWidth = 1
Font3D = 0 'None
Height = 390
Left = 1710
Picture = WSRC.FRX:078A
TabIndex = 4
Top = 90
Width = 420
End
Begin SSCommand find_bbox
AutoSize = 1 'Adjust Picture Size To Button
BevelWidth = 1
Font3D = 0 'None
Height = 390
Left = 1140
Picture = WSRC.FRX:090C
TabIndex = 3
Top = 90
Width = 420
End
Begin SSCommand print_bbox
AutoSize = 1 'Adjust Picture Size To Button
BevelWidth = 1
Font3D = 0 'None
Height = 390
Left = 570
Picture = WSRC.FRX:0A8E
TabIndex = 2
Top = 90
Width = 420
End
Begin SSCommand save_bbox
AutoSize = 1 'Adjust Picture Size To Button
BevelWidth = 1
Font3D = 0 'None
Height = 390
Left = 120
Picture = WSRC.FRX:0C10
TabIndex = 1
Top = 90
Width = 420
End
End
Begin Menu file_menu
Caption = "&File"
Begin Menu menu_save
Caption = "&Save as..."
End
Begin Menu menu_print
Caption = "&Print"
End
Begin Menu s1
Caption = "-"
End
Begin Menu menu_done
Caption = "&Done"
Shortcut = {F3}
End
End
Begin Menu menu_edit
Caption = "&Edit"
Begin Menu menu_find_key
Caption = "&Find key"
Shortcut = {F5}
End
Begin Menu s2
Caption = "-"
End
Begin Menu menu_next
Caption = "View &next document"
Begin Menu menu_next_in_order
Caption = "&In order"
Shortcut = {F8}
End
Begin Menu menu_next_listed
Caption = "&Listed in questions"
Shortcut = +{F8}
End
End
Begin Menu menu_prev
Caption = "View &prev document"
Begin Menu menu_prev_in_order
Caption = "&In order"
Shortcut = {F7}
End
Begin Menu menu_prev_listed
Caption = "&Listed in questions"
Shortcut = +{F7}
End
End
Begin Menu s3
Caption = "-"
End
Begin Menu menu_copy
Caption = "&Copy"
Shortcut = +{F6}
End
Begin Menu s4
Caption = "-"
End
Begin Menu menu_add_section
Caption = "&Add section"
Shortcut = {F6}
End
End
Const FORM_OFFSET = 3 ' offset from top of form for button bar
Dim rec As String * MAX_TEXT_LENGTH
Dim tmp_handle As Integer
Dim recno As Integer
Dim doc_lines As Integer
Dim lines_per_page As Integer
Dim line_size As Single
Dim wdno As Integer
Dim box_top As Single
Dim box_bottom As Single
Dim box_drawn As Integer
Dim button_down As Integer
Dim form_cancelled As Integer
Sub add_section_bbox_Click ()
menu_add_section_click
End Sub
Sub add_source_Click ()
Dim pfx As String * 4
If Trim$(source_groups.Text) = "" Or Trim$(s_add_port) = "" Or Trim$(s_add_server) = "" Or Trim$(s_add_database) = "" Then
MsgBox ("A source field entry is missing, please enter it")