wz2jrz Posted April 26, 2003 Posted April 26, 2003 I have a listbox on the side of a richtextbox. Listbox displays the line numbers of the richtextbox content. Is there a way to invoke programmatically scrolling of listbox when i vertically scroll richtextbox and vice versa? basically i want to show scrolling of numbers while i scroll richtextbox and also vice versa... Quote
*Gurus* divil Posted April 27, 2003 *Gurus* Posted April 27, 2003 Here's a sample I wrote a long time ago for drawing line numbers next to a richtextbox. It doesn't use a listbox but it ought to get you started.richtextlinenumbers.zip Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.