How to align the text in one cell of Table Field

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
alessandropisoni
Posts: 12
Joined: Fri Jul 07, 2006 2:14 pm
Contact:

How to align the text in one cell of Table Field

Post by alessandropisoni » Mon Jun 18, 2007 3:59 pm

I am trying one function in order to align of the text to the inside
of one cell.

iam trying this but is not corect

set the textAlign of item 3 of line NUMRIGA of field"Dati" of card"Grafico" to right


my field"Dati" is an Table Field! and i have three column, item 1 ,item 2, and item 3

i need your help
thanks

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Tue Jun 19, 2007 12:31 am

Dear alessandropisoni,

This is not possible (although there is a trick using one-pixel wide space, which is cpu-power and memory consuming, depending on the amount of data of course).

To achieve the desired effect, you have to use multiple fields and set the textalign of each field separately.

Best regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Post Reply