Page 1 of 1

Data Grid Scroll issue

Posted: Tue Feb 25, 2014 10:30 pm
by tasdvl9
Hi,

I'm trying to implement a vertical and horizontal scroller for my Data Grid.

I'm a little fuzzy on how to link the scroll objects to my data grid object.

I did something like this after I added the Vertical and Horizontal scroll bars:

on scrollbarDrag V
set the dgVscroll of control "dgViewWindow" to V
end scrollbarDrag

Although the scroll bar moves, my data grid is not being scrolled vertically or horizontally.

Thanks!

Re: Data Grid Scroll issue

Posted: Wed Feb 26, 2014 1:02 am
by Simon
Hi tasdvl9,
I'm not sure what "control "dgViewWindow"" is?

Now there will probably be some flack for saying this but you should be using the actual object type not the general "control". By using "control" I can't tell if it's a button or image or other, so can't really help debug this.

See, "set the dgVScroll of grp "DataGrid 1" to pVScroll" works great with no problems for me.

Simon