Datagrid: multiple hilites

Trevor DeVore lists at mangomultimedia.com
Sat Oct 17 13:45:59 EDT 2009


On Oct 17, 2009, at 11:00 AM, David Bovill wrote:

> Thanks - but "ScrollRectIntoView" would rely on "## See  
> dgRectOfIndex in
> order to get rect of a control in the data grid." - and this is  
> broken for
> cases in which the rows are scrolled above the grid (perhaps when  
> they go
> above the screens top?) -- see the handler below for a temporary fix.

Not broken, just designed for Data Grids where controls are cached.  
See the note for dgRectOfIndex in the source. This is one reason why  
it remains undocumented :-)

-- 
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com



More information about the use-livecode mailing list