home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form LinkEdit
- Caption = "Edit Hypertext Links"
- ClientHeight = 3945
- ClientLeft = 2895
- ClientTop = 2130
- ClientWidth = 2940
- Height = 4350
- Icon = LINKEDIT.FRX:0000
- Left = 2835
- LinkMode = 1 'Source
- LinkTopic = "Form1"
- ScaleHeight = 3945
- ScaleWidth = 2940
- Top = 1785
- Width = 3060
- Begin CommandButton Command5
- Caption = "OK"
- Height = 375
- Left = 240
- TabIndex = 5
- Top = 3480
- Width = 2415
- End
- Begin CommandButton Command3
- Caption = "Cancel"
- Default = -1 'True
- Height = 375
- Left = 240
- TabIndex = 2
- Top = 3000
- Width = 2415
- End
- Begin CommandButton Command4
- Caption = "HEEELLLPPP!!!"
- Height = 375
- Left = 240
- TabIndex = 3
- Top = 2520
- Width = 2415
- End
- Begin CommandButton Command7
- Caption = "GoTo an existing topic..."
- Height = 375
- Left = 240
- TabIndex = 7
- Top = 2040
- Width = 2415
- End
- Begin CommandButton Command6
- Caption = "Link to an external app..."
- Height = 375
- Left = 240
- TabIndex = 6
- Top = 1560
- Width = 2415
- End
- Begin CommandButton Command2
- Caption = "Link to new topic..."
- Height = 375
- Left = 240
- TabIndex = 1
- Top = 1080
- Width = 2415
- End
- Begin CommandButton Command1
- Caption = "Link to existing topic..."
- Height = 375
- Left = 240
- TabIndex = 0
- Top = 600
- Width = 2415
- End
- Begin TextBox Text1
- Height = 375
- Left = 240
- TabIndex = 4
- Text = "Text1"
- Top = 120
- Width = 2415
- End
- Sub Command1_Click ()
- SelTopic.Show 1
- End Sub
- Sub Command2_Click ()
- text1.text = NewHyperText$()
- End Sub
- Sub Command3_Click ()
- Unload linkedit
- End Sub
- Sub Command4_Click ()
- MsgBox "so sorry, no help available", 1, APPNAME$
- End Sub
- Sub Command5_Click ()
- MainForm.TextTopic(CurrentTopic%).seltext = text1.text
- Unload linkedit
- End Sub
- Sub Command7_Click ()
- SelTopic.Show 1
- a$ = text1.text
- NewTopic% = FindTopic(a$)
- If NewTopic% Then
- Unload linkedit
- ShowTopic NewTopic%
- End If
- End Sub
- Sub Form_Load ()
- text1.text = MainForm.TextTopic(CurrentTopic%).seltext
- End Sub
-