Re: Datagrid : showing a row by auto scrolling

2014-11-14 Thread Bob Sneidar
put 95 into lSelectedLine set the hilitedLine of group myDatagrid to lSelectedLine — alternatively use index. Unless you are manually populating the data grid, this will autoscroll to the selected index/line. Bob S On Nov 12, 2014, at 18:28 , Glen Bojsza gboj...@gmail.com wrote: I

RE: Datagrid : showing a row by auto scrolling

2014-11-13 Thread FlexibleLearning.com
I would do this manually by setting the vScroll based on (LineNumber * effective textHeight) - (6 *effective LineHeight)... on setScroll pLineNumber put the effective textHeight of fld 1 into tLineHeight set the hilitedLines of fld Family to pLineNumber set the scroll of fld 1 to

Re: Datagrid : showing a row by auto scrolling

2014-11-13 Thread Glen Bojsza
Yes, this will do the trick...thanks. On Thu, Nov 13, 2014 at 3:00 AM, FlexibleLearning.com ad...@flexiblelearning.com wrote: I would do this manually by setting the vScroll based on (LineNumber * effective textHeight) - (6 *effective LineHeight)... on setScroll pLineNumber put the

Re: Datagrid : showing a row by auto scrolling

2014-11-13 Thread Martin Koob
If you are scrolling the datagrid you can use one of these two commands ScrollIndexIntoView - ScrollIndexIntoView pIndex - Scrolls the data grid so that the line associated with pIndex in the internal data array is in view. ScrollLineIntoView - ScrollLineIntoView pLine - Scrolls the data grid so