Author Topic: Tabs  (Read 2939 times)

MrTAToad

  • Guest
Tabs
« 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
« Last Edit: 2010-Jun-20 by MrTAToad »

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10709
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: Tabs
« Reply #1 on: 2010-Jun-22 »
aw, bad. The boxprint should be able to handle TAB characters.

MrTAToad

  • Guest
Re: Tabs
« Reply #2 on: 2010-Jun-22 »
Really a TAB should output 4 spaces, but that might require a bit of extra work in the printing routine.

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10709
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: Tabs
« Reply #3 on: 2010-Jun-22 »
Exactly.

Offline Moru

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1774
    • View Profile
    • Homepage
Re: Tabs
« Reply #4 on: 2010-Jun-22 »
or it should be interpreted so that the active cursor jumps to the next field...

Absolutely.