Moving text.

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
tasdvl9
Posts: 94
Joined: Fri Dec 06, 2013 3:55 am

Moving text.

Post by tasdvl9 » Sun Jan 10, 2016 4:03 am

Hi,

Is there a way to position a text string in a field at a certain location?
In other words, if i have two strings like "abc" and "xyz" I'd like to position them
in certain positions in the field. The reason for this is because I have category columns in my field and
I need the text to line up perfectly underneath them.

Thank You.

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10305
Joined: Wed May 06, 2009 2:28 pm

Re: Moving text.

Post by dunbarx » Sun Jan 10, 2016 6:07 am

Hi.

The thing to do here is use control characters instead of, what i think you are getting at, some gadgetry to locate the text in space.

Tabs are your friend, especially in a table field. Know that you can hide the lines (hGrid and vGrid) that appear by default in such a control, so that it looks like an ordinary field instead of some sort of spreadsheet.

Once you have played around with that for a while, especially with the tabstops, write back if you need more...

Craig Newman

tasdvl9
Posts: 94
Joined: Fri Dec 06, 2013 3:55 am

Re: Moving text.

Post by tasdvl9 » Mon Jan 11, 2016 2:02 am

Thanks, Craig.

Much appreciated.

I'll give the control characters a go.

Post Reply