How can i scroll to last line in Multyline StringControl

Hi;

i can’t move to scroll down in StringControl after line added. can anyone lhelp me?

i wrote this bu not woking.

incoming.setCursorPos(1, incoming.getLineCount());
incoming.scrollCursor();

Regards.