You are on page 1of 2

Private Sub Form_Load()

mnueditcut.Enabled = False

mnueditcopy.Enabled = False

mnueditpaste.Enabled = False

mnueditdelete.Enabled = False

mnuformatfont.Enabled = False

mnuformatcolors.Enabled = False

End Sub

Private Sub menueditcopy_Click()

Clipboard.Clear

Clipboard.SelTextScreen.ActiveControlSelText

mnueditpaste.Enabled = True

End Sub

Private Sub menueditcut_Click()

Dim count As Integer

Clipboard.SelText Screen.ActiveControl.SelText

Screen.ActiveControl .SelText = ""

mnueditpaste.Enabled = True

End Sub

Private Sub menueditdelete_Click()

Clipboard.Clear
Clipboard.SelText (Richtextbox1.SelText)

Richtextbox1.SelText = ""

End Sub

Private Sub menuformatfont_Click()

End Sub

You might also like