I am able to add text to the gadget successfully with the following code:
Code: Select all
text = "testing 1 2 3" + Chr(10)
ScintillaSendMessage(#SciID, #SCI_ADDTEXT,Len(text),@text)Also, since I am adding the text with code, the window does not scroll with the text. I see options to do this in the documentation but nothing I tried works. Basically, I would like the Scintilla window to always show the last line.
Any clues how to do this? I could show you what I have so far but it is not that different from the code sample on the page above.
