Re: Problem: select text from the backlog and copy (General questions)
My question was answered in a support ticket but I wanted to post this for anyone browsing the forum for info.
********** from tkt ***********
I noticed why you don't see the problem. When I use your menu to copy, paste etc there is no issue with copying outside the visible window.
If I use SelectedText then no text outside the visible window gets copied to the clipboard. If you could make SelectedText work the same as your menu copy. Also select all from the menu should have an option to select all of the text or just the visible window.
I was trying to remove the VBCrLf from the end of the selection that is added. Many times you don't want to paste a CRLF along with your text. Its safer to just hit enter when done pasting.
I did this with the following code added to the right click event
Private Sub wod1_RightClick(ByVal Row As Integer, ByVal Column As Integer, ShowMenu As Boolean)
Dim test As Integer
aa = Clipboard.GetText()
test = InStr(Len(aa) - 2, aa, vbCrLf, vbBinaryCompare)
If test > 1 Then
aa = Mid(aa, 1, Len(aa) - 2)
End If
Clipboard.SetText (aa)
'ShowMenu = False
clipviewer.Visible = True
clipviewer.Text = aa
End Sub
This works pretty good.
Complete thread:
- Problem: select text from the backlog and copy - vbiggar, 2006-05-30, 08:45
- Re: Problem: select text from the backlog and copy - wodDrazen, 2006-05-30, 09:32
- Re: Problem: select text from the backlog and copy - vbiggar, 2006-05-30, 09:43
- Re: Problem: select text from the backlog and copy - wodDrazen, 2006-05-30, 10:49
- Re: Problem: select text from the backlog and copy - vbiggar, 2006-05-30, 12:10
- Re: Problem: select text from the backlog and copy - vbiggar, 2006-05-30, 13:34
- Re: Problem: select text from the backlog and copy - wodSupport, 2006-05-30, 19:42
- Re: Problem: select text from the backlog and copy - vbiggar, 2006-05-31, 06:08
- Re: Problem: select text from the backlog and copy - vbiggar, 2006-05-31, 08:09
- Re: Problem: select text from the backlog and copy - vbiggar, 2006-05-31, 08:16
- Re: Problem: select text from the backlog and copy - vbiggar, 2006-06-05, 12:34
- Re: Problem: select text from the backlog and copy - wodAlan, 2006-06-05, 14:30
- Re: Problem: select text from the backlog and copy - vbiggar, 2006-06-06, 11:45
- Re: Problem: select text from the backlog and copy - wodAlan, 2006-06-05, 14:30
- Re: Problem: select text from the backlog and copy - vbiggar, 2006-06-05, 12:34
- Re: Problem: select text from the backlog and copy - vbiggar, 2006-05-31, 08:16
- Re: Problem: select text from the backlog and copy - vbiggar, 2006-05-31, 08:09
- Re: Problem: select text from the backlog and copy - vbiggar, 2006-05-31, 06:08
- Re: Problem: select text from the backlog and copy - wodSupport, 2006-05-30, 19:42
- Re: Problem: select text from the backlog and copy - vbiggar, 2006-05-30, 13:34
- Re: Problem: select text from the backlog and copy - vbiggar, 2006-05-30, 12:10
- Re: Problem: select text from the backlog and copy - wodDrazen, 2006-05-30, 10:49
- Re: Problem: select text from the backlog and copy - vbiggar, 2006-05-30, 09:43
- Re: Problem: select text from the backlog and copy - wodDrazen, 2006-05-30, 09:32