
Function Find(CurTextBox As TextBox, SerchFor As String, Start As Long)
Dim st As Long
st = InStr(Start, CurTextBox.Text, SerchFor)
If st > 0 Then
CurTextBox.SelStart = st - 1
CurTextBox.SelLength = Len(SerchFor)
End If
End Function
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 4