XLNT 2 gui - Force 'home' with a textbox?

Blitz3D Forums/Blitz3D Programming/XLNT 2 gui - Force 'home' with a textbox?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Hi, I'm having a problem with the xlnt 2 gui lib. I use the textbox gadget to display instructions, help info, etc, in my game. The problem is that when text is added to a textbox, the textbox text ends up scrolled to the bottom. I need the text to be scrolled to the top so that the user can begin reading from the start without needing to scroll or home the text.

Basically I want to do the equivalent of pressing the 'home' key with the textbox gadget's scrollbar having the focus, but I need to do it using code. I've been elbow deep in the xlnt 2 code with no luck.

Thanks for any help.