Focusing
New in GLBasic 9.054 is the ability to move backwards or forwards through either a text or single text widget. This is done by using :
DDgui_advancefocus([direction% = -1])
This moves the cursor to either the next text or single text widget (direction% > 0) or the previous widget (direction% < 0)
Ddgui_setfocus(id$)
This moves the cursor to the widget defined by id$. Again, this only works with text or single text widgets.