What is the unit of the parameter of SetVsbPosition?

Dear all,

I have a TGTextView and I would like to keep the vertical scrollbar at the bottom in order to see the latest added lines.

I see that the method SetVsbPosition(…) is the one I must use. However, I don’t understand what is the unit of the parameter ? What should I put to always be at the bottom ?

Thank you,
Barth

Hi Barth,

Cheers, Bertrand.

So obvious that I missed it…

Thank you !
Barth