views:

44

answers:

1

Hi

I have a simple VB.NET application using Scintilla. I don`t know how can I make the control auto scroll when text is added to it.

Can anyone help?

Thanks

A: 

Done.

Scintilla can auto-scroll by calling:

Scintilla1.Scrolling.ScrollBy(0, Scintilla1.Lines.Count)

so it scrolls to the last text line.

RHaguiuda