GLBasic forum

Codesnippets => DD-GUI => Topic started by: MrTAToad on 2010-Jun-20

Title: Tabs
Post by: MrTAToad on 2010-Jun-20
Currently, when you press TAB, you get a yellow block print.

For the moment, I sort it with :

Code (glbasic) Select
IF tab      ;    lastkey=15; a$=" "; ENDIF
Title: Re: Tabs
Post by: Kitty Hello on 2010-Jun-22
aw, bad. The boxprint should be able to handle TAB characters.
Title: Re: Tabs
Post by: MrTAToad on 2010-Jun-22
Really a TAB should output 4 spaces, but that might require a bit of extra work in the printing routine.
Title: Re: Tabs
Post by: Kitty Hello on 2010-Jun-22
Exactly.
Title: Re: Tabs
Post by: Moru on 2010-Jun-22
Quote from: Ocean on 2010-Jun-22
or it should be interpreted so that the active cursor jumps to the next field...

Absolutely.