margins and tabstops

Wouter wouter.abraham at pi.be
Wed Aug 4 20:26:09 EDT 2004


	• 	From: Klaus Major
	• 	 Subject: Re: margins and tabstops
	• 	 Date: Wed, 04 Aug 2004 13:57:17 -0700


-- snip
>
> Sorry, does not work for me, i just have an ordinary list-field.
>
>
> Maar, hartelijk bedankt :-)
>
>
> Greetings,
> WA
>
>
> Regards
>
>
> Klaus Major


:-)
Sorry.
As I was not in front of my computer and it was something out of the 
top of my head, I couldn't test.
So here is the correction for completeness sake:


  constant origTabs = "30,60,90,120,150,180,210,240,270" ---- or 
whatever format


on resetcolumns
     set the tabstops of fld 1 to origTabs
end resetcolumns


on showcolumn x
   get origTabs
   repeat with i = x to the num of items in it
     add <wideCellValue> to item i of it
   end repeat
   set the tabstops of fld 1 to it
end showcolumn

Tested it on all kind of fields (list included) and it works over here.

Greetings,
WA


More information about the use-livecode mailing list