margins and tabstops
Patricia De Martelaere
patricia.de.martelaere at pi.be
Wed Aug 4 14:46:20 EDT 2004
> • From: Klaus Major
> • Subject: margins and tabstops
> • Date: Wed, 04 Aug 2004 10:17:44 -0700
>
> Hi all,
>
>
> did someone notice that the TABs do not respect the set
> margins of a field?
>
>
> Example:
> I have a field where i set the margins to "60,4,4,4" because i need
> some
> "room" on the left side...
>
>
> But when i set the tabstops they do not "respect" the margins...?
>
>
> The tabstop STAYS at 140 or whatever and therefore i cannot use the
> "vgrid" property to display the text in the field correctly...
>
>
> Know what i mean?
>
> Create a field with a wide left margin, set the TABS, put some tabs
> and text
> into it and turn on the "vgrid"...
>
>
> Et voila, completely "out of sync" :-(
>
>
> Bug or feature?
>
>
>
> Regards
>
>
> Klaus Major
Hi Klaus,
May be you will consider this a work around but why not format the tabs
and use the tabs to show the text in the cell you want?
like for example:
constant origTabs = 30,30,30,30,30,30,30,30,30 ---- or whatever format
on resetcolumns
set the tabstops of fld 1 to origTabs
end resetcolumns
on showcolumn x
get origTabs
put <widecellvalue> into item x of it
set the tabstops of fld 1 to it
end showcolumn
Greetings,
WA
More information about the use-livecode
mailing list