Display Line Number:Position Coordinates for Rich Text Box

Category:
Forms and Controls
Type:
Snippets
Difficulty:
Intermediate
Author:
Alexander Triantafyllou

Version Compatibility: Visual Basic 6, Visual Basic 5

More information:
Display the caret's coordinates of a richtextbox in LineNumber:Position format.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: