Hi Kerry,
I'm not sure why your code isn't working, except perhaps that you are
setting the tabs before setting the text. Normally, I do it like this (using
tabs in text members has always been fine for me)
memberRef = member("Answers")
-- build the string first
str = memberRef.text
repeat with i = 1 to 4
str = str & TAB & wordList[i]
end repeat
-- set the text of the member, then set the tabs
memberRef.text = str
memberRef.tabs = [[#type: #left, #position: 19], ... etc
Luke
on 8/9/00 10:27 AM, Kerry Thompson at [EMAIL PROTECTED] wrote:
> I'm trying to lay a text field out in columns using tabs.
>
> Here's what I'm doing:
>
> theWords = member("Answers")
> theWords.tabs = [[#position: 19], [#position: 144], [#position: 269],
> [#position: 394]]
>
> repeat with i = 1 to 4
> put TAB after theWords
> put wordList[i] after theWords
> end repeat
>
> It's putting the tabs and the words in, but not in the positions I thought
> I set. The tabs are set right--I checked in the message window.
>
> Any help appreciated.
>
>
> Cordially,
> Kerry Thompson
> Learning Network
>
>
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
> email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
> Lingo-L is for learning and helping with programming Lingo. Thanks!]
--
Luke Wigley
Multimedia Director/Producer
Mecca Medialight Pty Ltd
Mecca Medialight: Medialight Sound Studio:
111 Moor Street 1 Bakehouse Lane
Fitzroy, Vic. 3065 North Fitzroy, Vic. 3068
Tel +613 9416 2033 Tel +613 9416 2033
Fax +613 9416 2055 Fax +613 9416 2055
www.medialight.com.au
__________________________________________________________________________
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]