Accessing customised columns in a datagrid

Trevor DeVore lists at mangomultimedia.com
Thu Mar 31 09:10:23 EDT 2011


On Thu, Mar 31, 2011 at 1:53 AM, Peter Haworth <pete at mollysrevenge.com>wrote:

> I think I figured this out.  I only need to add the +5 if the column
> containing the checkbox is the last column in the datagrid - anywhere else
> and the +5 pushes it too far to the right.  I'm guessing this has something
> to do with the vertical scrollbar - maybe the width of the last column in a
> datagrid includes the width of the scrollbar?


The scrollbar won't come into play when sizing the column but it may be that
your last column extends to the far right of the data grid. In this case
part of the column would appear behind the scrollbar and would not look
centered.

-- 

Trevor DeVore

Blue Mango Learning Systems

ScreenSteps: http://www.screensteps.com

LiveCode Resources for Developers: http://livecode.bluemangolearning.com



More information about the use-livecode mailing list