ko có ai chỉ nên tự tìm tòi cuối cùng cũng làm dc rồi
Mã:
Dim lineindex As Integer = tb1.GetLineFromCharIndex(tb1.SelectionStart)
Dim columnindex As Integer = tb1.SelectionStart - tb1.GetFirstCharIndexFromLine _
(tb1.GetLineFromCharIndex(tb1.SelectionStart))