Frågan#1
Jag försöker lite med dra och släpp.Har aktiverat oledrag,oledropmode till automatiskt.
Private Sub Text2_DragDrop(Source As Control, X As Single, Y As Single)
If TypeOf Source Is TextBox And Source.Name = "Text1" Then
Text2.text = "Mid(Source.text, Source.SelStart + 1, Source.SelLength)
Text1.Drag vbEndDrag
End If
End Sub
Efter lite sökningar så fick jag detta att fungera.
Min fråga, jag skulle vilja ha med lite autogenererad text innan och efter source.text, kan man göra det?