Select any text at anytime in a textbox/rtf/multi line ect... by calling this 3 line sub.
Select any text at anytime in a textbox/rtf/multi line ect... by calling this 3 line sub.
Rate Select any text at anytime in a textbox/rtf/multi line ect... by calling this 3 line sub.
(1(1 Vote))
'Example:
'--------
'Private Sub txtAFKMessage_LostFocus()
' Call selText(txtAFKMessage)
'End Sub
'Select all the text
Sub selText(sObject As Object)
sObject.SelStart = 0
sObject.SelLength = Len(sObject.text)
End Sub
Select any text at anytime in a textbox/rtf/multi line ect... by calling this 3 line sub. Comments
No comments yet — be the first to post one!
Post a Comment