VB Code:
  1. If Not txtSend.SelStart = "" Then
why do i get a type mismatch?
also, thats the method im using to check if the control is in focus - is there another way to check if a control is focussed?