Using "tab" for field input

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
bjb007
Posts: 313
Joined: Fri Dec 28, 2007 4:56 am

Using "tab" for field input

Post by bjb007 » Wed Oct 01, 2008 3:22 pm

I want to put an "X" in a certain position
in a field.

I've set the tabStop and can send the right
number of tabs but always get the "X" in the
same position.

Think it might be that the "cursor" is at the
position in the line from the first set of "tabs".

If this is the problem how do I set the cursor
back to the left end of the line?
Life is just a bowl of cherries.

Janschenkel
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 977
Joined: Sat Apr 08, 2006 7:47 am
Contact:

Post by Janschenkel » Wed Oct 01, 2008 8:57 pm

How exactly are you 'sending the tabs' to the field?
It could be as simple as:

Code: Select all

on mouseUp
  put tab & "X" into field "foobar"
end mouseUp
Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com

Post Reply