-
Does anyone know if there is a way to simulate keystrokes? Well here is what i want to do. i have a text box and two buttons. I want one button to highlight the text in the text box, and the other button to copy it to the clipboard. thanks in advance.
-Steve
-
Shouldn't be to hard.
Code:
Private Sub Command1_Click()
Text1.SelStart = 0
Text1.SelLength = Len(Text1.Text)
Text1.SetFocus
End Sub
Private Sub Command2_Click()
Clipboard.SetText Text1.SelText
End Sub
-
wow
wow, i guess that really isnt hard. thanks a BUNCH
-steve