I have a fairly simple Editor i probably lifted from here some time ago. It works fine except when doing a cut to move line(s). It pulls off the CrLf and the succeeding line then gets pulled upward.
What is the proper method to manage the CrLf?
From my cut proc: VB6 code
What is the proper method to manage the CrLf?
From my cut proc: VB6 code
Code:
Private Sub EditCutProc()
' Copy the selected text onto the Clipboard.
Clipboard.Clear 'v1.6.030 Note: must must clear first
Clipboard.SetText txtNote.SelText
' Delete the selected text.
txtNote.SelText = ""
End Sub