Customized Datagrid TAB order
Pete
pete at mollysrevenge.com
Tue Apr 5 19:55:04 EDT 2011
OK, that's really interesting and useful and would have saved me a lot of
work if I'd known about them. Where are these documented? I can't find
them in the online datagrid documentation. I wonder how many other useful
functions are there that aren't documented.
Pete
Molly's Revenge <http://www.mollysrevenge.com>
On Tue, Apr 5, 2011 at 3:31 PM, zryip theSlug <zryip.theslug at gmail.com>wrote:
> On Tue, Apr 5, 2011 at 9:00 PM, Malte Brill <revolution at derbrill.de>
> wrote:
>
> > I have a datagrid that is highly customized ( no field editor, but
> editable fields in it. Data entry messes with XML and stuff). Now this all
> is working just fine, but I need to implement Tabbing from one column to the
> next on the same row. however, If I do not script anything, the TAB order is
> frist column down to the end, then next column from top to bottom. I need to
> TAb from the left to the right and than downwards (and in reverse if the
> shiftkey is down). To script this I need to know the long name (or ID) of
> the field in the next column on the same row (or if it is the last of the
> next row respectively). Anyone done something like this? Any pointers much
> appreciated.
>
> Hi Malte,
>
> It exists two functions in the API to get the long id of the control
> inside a column. A possible solution is to use them inside the
> datagrid group script.
>
> ColumnControlOfIndex(pColumn, pIndex)
>
> or
>
> ColumnControlOfLine(pColumn, pLine)
>
>
>
> Best regards,
> --
> -Zryip TheSlug- wish you the best! 8)
> http://www.aslugontheroad.co.cc
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
More information about the use-livecode
mailing list