home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / htmlso_1 / html.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1998-04-09  |  20.6 KB  |  668 lines

  1. VERSION 5.00
  2. Begin VB.Form Form1 
  3.    Caption         =   "Visual Basic Html Editor Example."
  4.    ClientHeight    =   4320
  5.    ClientLeft      =   1290
  6.    ClientTop       =   1395
  7.    ClientWidth     =   7245
  8.    BeginProperty Font 
  9.       Name            =   "MS Sans Serif"
  10.       Size            =   8.25
  11.       Charset         =   177
  12.       Weight          =   700
  13.       Underline       =   0   'False
  14.       Italic          =   0   'False
  15.       Strikethrough   =   0   'False
  16.    EndProperty
  17.    ForeColor       =   &H80000008&
  18.    Icon            =   "HTML.frx":0000
  19.    LinkTopic       =   "Form1"
  20.    PaletteMode     =   1  'UseZOrder
  21.    ScaleHeight     =   4320
  22.    ScaleWidth      =   7245
  23.    WindowState     =   2  'Maximized
  24.    Begin VB.CommandButton Command5 
  25.       BackColor       =   &H80000005&
  26.       Caption         =   "End"
  27.       DragIcon        =   "HTML.frx":030A
  28.       BeginProperty Font 
  29.          Name            =   "Arial"
  30.          Size            =   8.25
  31.          Charset         =   0
  32.          Weight          =   700
  33.          Underline       =   0   'False
  34.          Italic          =   0   'False
  35.          Strikethrough   =   0   'False
  36.       EndProperty
  37.       Height          =   375
  38.       Left            =   5760
  39.       TabIndex        =   10
  40.       Top             =   0
  41.       Width           =   735
  42.    End
  43.    Begin VB.CommandButton Command4 
  44.       BackColor       =   &H80000005&
  45.       Caption         =   "B"
  46.       DragIcon        =   "HTML.frx":0614
  47.       BeginProperty Font 
  48.          Name            =   "Arial"
  49.          Size            =   8.25
  50.          Charset         =   0
  51.          Weight          =   700
  52.          Underline       =   0   'False
  53.          Italic          =   0   'False
  54.          Strikethrough   =   0   'False
  55.       EndProperty
  56.       Height          =   375
  57.       Left            =   960
  58.       TabIndex        =   9
  59.       Top             =   0
  60.       Width           =   375
  61.    End
  62.    Begin VB.CommandButton Command3 
  63.       BackColor       =   &H80000005&
  64.       Caption         =   "U"
  65.       DragIcon        =   "HTML.frx":091E
  66.       BeginProperty Font 
  67.          Name            =   "Arial"
  68.          Size            =   8.25
  69.          Charset         =   0
  70.          Weight          =   700
  71.          Underline       =   0   'False
  72.          Italic          =   0   'False
  73.          Strikethrough   =   0   'False
  74.       EndProperty
  75.       Height          =   375
  76.       Left            =   1440
  77.       TabIndex        =   8
  78.       Top             =   0
  79.       Width           =   375
  80.    End
  81.    Begin VB.CommandButton Command2 
  82.       BackColor       =   &H80000005&
  83.       Caption         =   "I"
  84.       DragIcon        =   "HTML.frx":0C28
  85.       BeginProperty Font 
  86.          Name            =   "Arial"
  87.          Size            =   8.25
  88.          Charset         =   0
  89.          Weight          =   700
  90.          Underline       =   0   'False
  91.          Italic          =   0   'False
  92.          Strikethrough   =   0   'False
  93.       EndProperty
  94.       Height          =   375
  95.       Left            =   1920
  96.       TabIndex        =   7
  97.       Top             =   0
  98.       Width           =   375
  99.    End
  100.    Begin VB.CommandButton Command1 
  101.       BackColor       =   &H80000005&
  102.       Caption         =   "Colors"
  103.       DragIcon        =   "HTML.frx":0F32
  104.       BeginProperty Font 
  105.          Name            =   "Arial"
  106.          Size            =   8.25
  107.          Charset         =   0
  108.          Weight          =   700
  109.          Underline       =   0   'False
  110.          Italic          =   0   'False
  111.          Strikethrough   =   0   'False
  112.       EndProperty
  113.       Height          =   375
  114.       Left            =   4920
  115.       TabIndex        =   6
  116.       Top             =   0
  117.       Width           =   855
  118.    End
  119.    Begin VB.CommandButton hr 
  120.       BackColor       =   &H80000005&
  121.       Caption         =   "HR"
  122.       DragIcon        =   "HTML.frx":123C
  123.       BeginProperty Font 
  124.          Name            =   "Arial"
  125.          Size            =   8.25
  126.          Charset         =   0
  127.          Weight          =   700
  128.          Underline       =   0   'False
  129.          Italic          =   0   'False
  130.          Strikethrough   =   0   'False
  131.       EndProperty
  132.       Height          =   375
  133.       Left            =   480
  134.       TabIndex        =   5
  135.       Top             =   0
  136.       Width           =   375
  137.    End
  138.    Begin VB.CommandButton email 
  139.       BackColor       =   &H80000005&
  140.       Caption         =   "E-Mail"
  141.       DragIcon        =   "HTML.frx":1546
  142.       BeginProperty Font 
  143.          Name            =   "Arial"
  144.          Size            =   8.25
  145.          Charset         =   0
  146.          Weight          =   700
  147.          Underline       =   0   'False
  148.          Italic          =   0   'False
  149.          Strikethrough   =   0   'False
  150.       EndProperty
  151.       Height          =   375
  152.       Left            =   3120
  153.       TabIndex        =   4
  154.       Top             =   0
  155.       Width           =   855
  156.    End
  157.    Begin VB.CommandButton Picture 
  158.       BackColor       =   &H80000005&
  159.       Caption         =   "Picture"
  160.       DragIcon        =   "HTML.frx":1850
  161.       BeginProperty Font 
  162.          Name            =   "Arial"
  163.          Size            =   8.25
  164.          Charset         =   0
  165.          Weight          =   700
  166.          Underline       =   0   'False
  167.          Italic          =   0   'False
  168.          Strikethrough   =   0   'False
  169.       EndProperty
  170.       Height          =   375
  171.       Left            =   4080
  172.       TabIndex        =   3
  173.       Top             =   0
  174.       Width           =   855
  175.    End
  176.    Begin VB.CommandButton link 
  177.       BackColor       =   &H80000005&
  178.       Caption         =   "Link"
  179.       DragIcon        =   "HTML.frx":1B5A
  180.       BeginProperty Font 
  181.          Name            =   "Arial"
  182.          Size            =   8.25
  183.          Charset         =   0
  184.          Weight          =   700
  185.          Underline       =   0   'False
  186.          Italic          =   0   'False
  187.          Strikethrough   =   0   'False
  188.       EndProperty
  189.       Height          =   375
  190.       Left            =   2400
  191.       TabIndex        =   2
  192.       Top             =   0
  193.       Width           =   735
  194.    End
  195.    Begin VB.CommandButton br 
  196.       BackColor       =   &H80000005&
  197.       Caption         =   "BR"
  198.       DragIcon        =   "HTML.frx":1E64
  199.       BeginProperty Font 
  200.          Name            =   "Arial"
  201.          Size            =   8.25
  202.          Charset         =   0
  203.          Weight          =   700
  204.          Underline       =   0   'False
  205.          Italic          =   0   'False
  206.          Strikethrough   =   0   'False
  207.       EndProperty
  208.       Height          =   375
  209.       Left            =   120
  210.       TabIndex        =   1
  211.       Top             =   0
  212.       Width           =   375
  213.    End
  214.    Begin VB.TextBox main 
  215.       Height          =   6135
  216.       Left            =   120
  217.       MultiLine       =   -1  'True
  218.       ScrollBars      =   2  'Vertical
  219.       TabIndex        =   0
  220.       Top             =   480
  221.       Width           =   6975
  222.    End
  223.    Begin VB.Menu mnufile 
  224.       Caption         =   "File"
  225.       Index           =   2
  226.       Begin VB.Menu mnufileopen 
  227.          Caption         =   "Open..."
  228.          Index           =   1
  229.       End
  230.       Begin VB.Menu mnufilesave 
  231.          Caption         =   "Save..."
  232.          Index           =   1
  233.       End
  234.       Begin VB.Menu mnufileprint 
  235.          Caption         =   "Print"
  236.          Index           =   1
  237.       End
  238.       Begin VB.Menu mnufileexit 
  239.          Caption         =   "Exit"
  240.          Index           =   1
  241.       End
  242.    End
  243.    Begin VB.Menu mnutext 
  244.       Caption         =   "Text"
  245.       Index           =   1
  246.       Begin VB.Menu mnutextsize 
  247.          Caption         =   "Size"
  248.          Index           =   5
  249.          Begin VB.Menu mnutextsizeh1 
  250.             Caption         =   "H1"
  251.             Index           =   1
  252.          End
  253.          Begin VB.Menu mnutextsizeh2 
  254.             Caption         =   "H2"
  255.             Index           =   2
  256.          End
  257.          Begin VB.Menu mnutextsizeh3 
  258.             Caption         =   "H3"
  259.             Index           =   3
  260.          End
  261.          Begin VB.Menu mnutextsizeh4 
  262.             Caption         =   "H4"
  263.             Index           =   4
  264.          End
  265.          Begin VB.Menu mnutextsizeh5 
  266.             Caption         =   "H5"
  267.             Index           =   5
  268.          End
  269.          Begin VB.Menu mnutextsizeh6 
  270.             Caption         =   "H6"
  271.             Index           =   6
  272.          End
  273.          Begin VB.Menu mnutextsizeother 
  274.             Caption         =   "Other..."
  275.             Index           =   7
  276.          End
  277.       End
  278.       Begin VB.Menu mnutextcolor 
  279.          Caption         =   "Color"
  280.          Index           =   1
  281.          Begin VB.Menu mnutextcolorred 
  282.             Caption         =   "Red"
  283.             Index           =   1
  284.          End
  285.          Begin VB.Menu mnutextcolorgreen 
  286.             Caption         =   "Green"
  287.             Index           =   2
  288.          End
  289.          Begin VB.Menu mnutextcolorblue 
  290.             Caption         =   "Blue"
  291.             Index           =   3
  292.          End
  293.          Begin VB.Menu mnutextcoloryellow 
  294.             Caption         =   "Yellow"
  295.             Index           =   4
  296.          End
  297.          Begin VB.Menu mnutextcolorblack 
  298.             Caption         =   "Black"
  299.             Index           =   5
  300.          End
  301.          Begin VB.Menu mnutextcolormagenta 
  302.             Caption         =   "Magenta"
  303.             Index           =   6
  304.          End
  305.          Begin VB.Menu mnutextcolorbrown 
  306.             Caption         =   "Brown"
  307.             Index           =   7
  308.          End
  309.          Begin VB.Menu mnutextcolorcyan 
  310.             Caption         =   "Cyan"
  311.             Index           =   8
  312.          End
  313.          Begin VB.Menu mnutextcolorwhite 
  314.             Caption         =   "White"
  315.             Index           =   9
  316.          End
  317.          Begin VB.Menu mnutextcolorblueviolet 
  318.             Caption         =   "Blue Violet"
  319.             Index           =   10
  320.          End
  321.          Begin VB.Menu mnutextcolordarkbrown 
  322.             Caption         =   "Dark Brown"
  323.             Index           =   11
  324.          End
  325.          Begin VB.Menu mnutextcolordarkgreen 
  326.             Caption         =   "Dark Green"
  327.             Index           =   12
  328.          End
  329.          Begin VB.Menu mnutextcolordarkpurple 
  330.             Caption         =   "Dark Purple"
  331.             Index           =   13
  332.          End
  333.          Begin VB.Menu mnutextcolororange 
  334.             Caption         =   "Orange"
  335.             Index           =   14
  336.          End
  337.          Begin VB.Menu mnutextcolortan 
  338.             Caption         =   "Tan"
  339.             Index           =   15
  340.          End
  341.          Begin VB.Menu mnutextcolorgold 
  342.             Caption         =   "Gold"
  343.             Index           =   16
  344.          End
  345.       End
  346.       Begin VB.Menu mnutextposition 
  347.          Caption         =   "Position"
  348.          Index           =   1
  349.          Begin VB.Menu mnutextpositioncenter 
  350.             Caption         =   "Center"
  351.             Index           =   2
  352.          End
  353.          Begin VB.Menu mnutextpositionleft 
  354.             Caption         =   "Left"
  355.             Index           =   3
  356.          End
  357.          Begin VB.Menu mnutextpositionright 
  358.             Caption         =   "Right"
  359.             Index           =   4
  360.          End
  361.       End
  362.       Begin VB.Menu mnutextstyles 
  363.          Caption         =   "Styles"
  364.          Index           =   1
  365.          Begin VB.Menu mnutextstylesbold 
  366.             Caption         =   "Bold"
  367.             Index           =   4
  368.          End
  369.          Begin VB.Menu mnutextstylesunderline 
  370.             Caption         =   "Underline"
  371.             Index           =   1
  372.          End
  373.          Begin VB.Menu mnutextstylesitalic 
  374.             Caption         =   "Italic"
  375.             Index           =   5
  376.          End
  377.          Begin VB.Menu mnutextstylestypewriter 
  378.             Caption         =   "Typewriter"
  379.             Index           =   6
  380.          End
  381.          Begin VB.Menu mnutextstylescitation 
  382.             Caption         =   "Citation"
  383.             Index           =   7
  384.          End
  385.          Begin VB.Menu mnutextstylestrikethough 
  386.             Caption         =   "Strikethrough"
  387.             Index           =   8
  388.          End
  389.          Begin VB.Menu mnutextstylesstrong 
  390.             Caption         =   "Strong"
  391.             Index           =   9
  392.          End
  393.          Begin VB.Menu mnutextstylesblinking 
  394.             Caption         =   "Blinking"
  395.             Index           =   3
  396.          End
  397.       End
  398.    End
  399.    Begin VB.Menu mnupage 
  400.       Caption         =   "Page"
  401.       Index           =   1
  402.       Begin VB.Menu mnupagesetup 
  403.          Caption         =   "Setup and Colors..."
  404.          Index           =   5
  405.       End
  406.       Begin VB.Menu mnupageend 
  407.          Caption         =   "End"
  408.          Index           =   6
  409.       End
  410.    End
  411.    Begin VB.Menu mnufuntions 
  412.       Caption         =   "Funtions"
  413.       Index           =   1
  414.       Begin VB.Menu mnufuntionslink 
  415.          Caption         =   "Link..."
  416.          Index           =   2
  417.       End
  418.       Begin VB.Menu mnufuntionsemail 
  419.          Caption         =   "E-Mail..."
  420.          Index           =   3
  421.       End
  422.       Begin VB.Menu mnufuntionspicture 
  423.          Caption         =   "Picture..."
  424.          Index           =   4
  425.       End
  426.    End
  427.    Begin VB.Menu mnuhelp 
  428.       Caption         =   "Help"
  429.       Index           =   1
  430.       Begin VB.Menu mnuhelpabout 
  431.          Caption         =   "About..."
  432.          Index           =   3
  433.       End
  434.    End
  435. Attribute VB_Name = "Form1"
  436. Attribute VB_GlobalNameSpace = False
  437. Attribute VB_Creatable = False
  438. Attribute VB_PredeclaredId = True
  439. Attribute VB_Exposed = False
  440. Option Explicit
  441. Sub br_Click()
  442. Form1.main.SelText = Form1.main.SelText + "<br>"
  443. End Sub
  444. Sub Command1_Click()
  445. Form8.Visible = True
  446. End Sub
  447. Sub Command2_Click()
  448. Form1.main.SelText = "<i>" + Form1.main.SelText + "</i>"
  449. End Sub
  450. Sub Command3_Click()
  451. Form1.main.SelText = "<u>" + Form1.main.SelText + "</u>"
  452. End Sub
  453. Sub Command4_Click()
  454. Form1.main.SelText = "<b>" + Form1.main.SelText + "</b>"
  455. End Sub
  456. Sub Command5_Click()
  457. Form1.main.SelText = Chr(13) + Chr(10) + Form1.main.SelText + "</BODY>" + Chr(13) + Chr(10) + "</HTML>"
  458. End Sub
  459. Sub email_Click()
  460. Form3.Visible = True
  461. End Sub
  462. Sub Form_Load()
  463. main.Height = Form1.ScaleHeight - 300
  464. main.Width = Form1.Width
  465. End Sub
  466. Sub Form_Resize()
  467. main.Height = Form1.ScaleHeight - 300
  468. main.Width = Form1.Width
  469. End Sub
  470. Private Sub Form_Unload(cancel As Integer)
  471. If MsgBox("Do you really want to Quit?", vbYesNo, "Quit?") = 6 Then
  472.     Form1.Show
  473.     cancel = 1
  474.  End If
  475. End Sub
  476. Sub hr_Click()
  477. Form1.main.SelText = Form1.main.SelText + "<hr>"
  478. End Sub
  479. Sub link_Click()
  480. Form2.Visible = True
  481. End Sub
  482. Sub sub0124()
  483. End Sub
  484. Sub sub0141()
  485. End Sub
  486. Sub sub0165()
  487. Form8.Visible = True
  488. End Sub
  489. Sub mnufileexit_Click(Index%)
  490. Unload Me
  491. End Sub
  492. Sub mnufileopen_Click(Index%)
  493. Form5.Visible = True
  494. End Sub
  495. Sub mnufileprint_Click(Index%)
  496. Form1.PrintForm
  497. End Sub
  498. Sub sub01C6()
  499. Dim l0044 As Variant
  500. Dim l004C As Variant
  501. Dim l0050 As Variant
  502. l0044 = Form1.main.Text
  503. l004C = Form7.path.Caption + "\" + Form7.filename.Text
  504. If l0050 = 1 Then
  505. Close
  506. Kill l004C
  507. Open l004C For Random As #1
  508. Put #1, , l0044
  509. Close
  510. End If
  511. If l0050 = 3 Then
  512. Form7.Visible = True
  513. End If
  514. Close
  515. End Sub
  516. Sub mnufilesave_Click(Index%)
  517. Form7.Visible = True
  518. End Sub
  519. Sub mnufuntionsemail_Click(Index%)
  520. Form3.Visible = True
  521. End Sub
  522. Sub mnufuntionslink_Click(Index%)
  523. Form2.Visible = True
  524. End Sub
  525. Sub mnufuntionspicture_Click(Index%)
  526. Form4.Visible = True
  527. End Sub
  528. Sub sub023E()
  529. End Sub
  530. Sub mnuhelpabout_Click(Index%)
  531. Dim l0064 As Variant
  532. l0064 = "Visual Basic Html Editor Sample."
  533. MsgBox l0064
  534. End Sub
  535. Sub mnupageend_Click(Index%)
  536. Form1.main.SelText = Chr(13) + Chr(10) + Form1.main.SelText + "</BODY>" + Chr(13) + Chr(10) + "</HTML>"
  537. End Sub
  538. Sub mnupagesetup_Click(Index%)
  539. Form8.Visible = True
  540. End Sub
  541. Sub sub02AD()
  542. Form1.main.SelText = "<blink>" + Form1.main.SelText + "</blink>"
  543. End Sub
  544. Sub sub02C6()
  545. Form1.main.SelText = "<b>" + Form1.main.SelText + "</b>"
  546. End Sub
  547. Sub sub02DB()
  548. Form1.main.SelText = "<h4>" + Form1.main.SelText + "</h4>"
  549. End Sub
  550. Sub mnutextcolorblack_Click(Index%)
  551. Form1.main.SelText = "<FONT COLOR=#000000>" + Form1.main.SelText + "</font>"
  552. End Sub
  553. Sub mnutextcolorblue_Click(Index%)
  554. Form1.main.SelText = "<FONT COLOR=#0000FF>" + Form1.main.SelText + "</font>"
  555. End Sub
  556. Sub mnutextcolorblueviolet_Click(Index%)
  557. Form1.main.SelText = "<FONT COLOR=#9F5F9F>" + Form1.main.SelText + "</font>"
  558. End Sub
  559. Sub mnutextcolorbrown_Click(Index%)
  560. Form1.main.SelText = "<FONT COLOR=#A62A2A>" + Form1.main.SelText + "</font>"
  561. End Sub
  562. Sub mnutextcolorcyan_Click(Index%)
  563. Form1.main.SelText = "<FONT COLOR=#00FFFF>" + Form1.main.SelText + "</font>"
  564. End Sub
  565. Sub mnutextcolordarkbrown_Click(Index%)
  566. Form1.main.SelText = "<FONT COLOR=#5C4033>" + Form1.main.SelText + "</font>"
  567. End Sub
  568. Sub mnutextcolordarkgreen_Click(Index%)
  569. Form1.main.SelText = "<FONT COLOR=#2F4F2F>" + Form1.main.SelText + "</font>"
  570. End Sub
  571. Sub mnutextcolordarkpurple_Click(Index%)
  572. Form1.main.SelText = "<FONT COLOR=#871F78>" + Form1.main.SelText + "</font>"
  573. End Sub
  574. Sub mnutextcolorgold_Click(Index%)
  575. Form1.main.SelText = "<FONT COLOR=#CD7F32>" + Form1.main.SelText + "</font>"
  576. End Sub
  577. Sub mnutextcolorgreen_Click(Index%)
  578. Form1.main.SelText = "<FONT COLOR=#00FF00>" + Form1.main.SelText + "</font>"
  579. End Sub
  580. Sub mnutextcolormagenta_Click(Index%)
  581. Form1.main.SelText = "<FONT COLOR=#FF00FF>" + Form1.main.SelText + "</font>"
  582. End Sub
  583. Sub mnutextcolororange_Click(Index%)
  584. Form1.main.SelText = "<FONT COLOR=#FF7F00>" + Form1.main.SelText + "</font>"
  585. End Sub
  586. Sub mnutextcolorred_Click(Index%)
  587. Form1.main.SelText = "<FONT COLOR=#FF0000>" + Form1.main.SelText + "</font>"
  588. End Sub
  589. Sub mnutextcolortan_Click(Index%)
  590. Form1.main.SelText = "<FONT COLOR=#DB9370>" + Form1.main.SelText + "</font>"
  591. End Sub
  592. Sub mnutextcolorwhite_Click(Index%)
  593. Form1.main.SelText = "<FONT COLOR=#FFFFFF>" + Form1.main.SelText + "</font>"
  594. End Sub
  595. Sub mnutextcoloryellow_Click(Index%)
  596. Form1.main.SelText = "<FONT COLOR=#FFFF00>" + Form1.main.SelText + "</font>"
  597. End Sub
  598. Sub sub04B1()
  599. Form1.main.SelText = "<i>" + Form1.main.SelText + "</i>"
  600. End Sub
  601. Sub mnutextpositioncenter_Click(Index%)
  602. Form1.main.SelText = "<center>" + Form1.main.SelText + "</center>"
  603. End Sub
  604. Sub mnutextpositionleft_Click(Index%)
  605. Form1.main.SelText = "<p align=left>" + Form1.main.SelText + "</p>"
  606. End Sub
  607. Sub mnutextpositionright_Click(Index%)
  608. Form1.main.SelText = "<p align=right>" + Form1.main.SelText + "</p>"
  609. End Sub
  610. Sub mnutextsizeh1_Click(Index%)
  611. Form1.main.SelText = "<h1>" + Form1.main.SelText + "</h1>"
  612. End Sub
  613. Sub mnutextsizeh2_Click(Index%)
  614. Form1.main.SelText = "<h2>" + Form1.main.SelText + "</h2>"
  615. End Sub
  616. Sub mnutextsizeh3_Click(Index%)
  617. Form1.main.SelText = "<h3>" + Form1.main.SelText + "</h3>"
  618. End Sub
  619. Sub mnutextsizeh4_Click(Index%)
  620. Form1.main.SelText = "<h1>" + Form1.main.SelText + "</h1>"
  621. End Sub
  622. Sub mnutextsizeh5_Click(Index%)
  623. Form1.main.SelText = "<h5>" + Form1.main.SelText + "</h5>"
  624. End Sub
  625. Sub mnutextsizeh6_Click(Index%)
  626. Form1.main.SelText = "<h6>" + Form1.main.SelText + "</h6>"
  627. End Sub
  628. Sub sub05AC()
  629. End Sub
  630. Sub mnutextsizeother_Click(Index%)
  631. Form11.Visible = True
  632. End Sub
  633. Sub mnutextstylesblinking_Click(Index%)
  634. Form1.main.SelText = "<blink>" + Form1.main.SelText + "</blink>"
  635. End Sub
  636. Sub mnutextstylesbold_Click(Index%)
  637. Form1.main.SelText = "<b>" + Form1.main.SelText + "</b>"
  638. End Sub
  639. Sub mnutextstylescitation_Click(Index%)
  640. Form1.main.SelText = "<cite>" + Form1.main.SelText + "</cite>"
  641. End Sub
  642. Sub mnutextstylesitalic_Click(Index%)
  643. Form1.main.SelText = "<i>" + Form1.main.SelText + "</i>"
  644. End Sub
  645. Sub mnutextstylesstrong_Click(Index%)
  646. Form1.main.SelText = "<strong>" + Form1.main.SelText + "</strong>"
  647. End Sub
  648. Sub mnutextstylestrikethough_Click(Index%)
  649. Form1.main.SelText = "<strike>" + Form1.main.SelText + "</strike>"
  650. End Sub
  651. Sub mnutextstylestypewriter_Click(Index%)
  652. Form1.main.SelText = "<pre>" + Form1.main.SelText + "</pre>"
  653. End Sub
  654. Sub mnutextstylesunderline_Click(Index%)
  655. Form1.main.SelText = "<u>" + Form1.main.SelText + "</u>"
  656. End Sub
  657. Sub sub06D7()
  658. Form1.main.SelText = "<pre>" + Form1.main.SelText + "</pre>"
  659. End Sub
  660. Sub sub06F2()
  661. Form1.main.SelText = "<u>" + Form1.main.SelText + "</u>"
  662. End Sub
  663. Sub Picture_Click()
  664. Form4.Visible = True
  665. End Sub
  666. Sub sub071D()
  667. End Sub
  668.