G
Guest
How do I determine the column associated with the current edit location within a RichTextBox? The following code allow
me to determine the current line
txtLineNumber.Text = FormatNumber(RichTextBox1.GetLineFromCharIndex(RichTextBox1.SelectionStart())+1,0
How do I determine the column location within the line? I must be missing something obvious, any help would be appreciated
me to determine the current line
txtLineNumber.Text = FormatNumber(RichTextBox1.GetLineFromCharIndex(RichTextBox1.SelectionStart())+1,0
How do I determine the column location within the line? I must be missing something obvious, any help would be appreciated