Page 1 of 1
scrolling header field
Posted: Thu Oct 30, 2008 4:23 am
by Glenn Boyce
I have a header field that is a different colour than the main table field. The latter has now got more columns than I have width and needs to scroll. How do I link the header field to scroll at the same time?
Posted: Thu Oct 30, 2008 7:12 am
by Janschenkel
Hi Glenn,
You can make two fields scroll at the same time by tapping into the 'scrollbarDrag' message from your table field.
Code: Select all
on scrollbarDrag
set the hScroll of field "Header" to the hScroll of me
end scrollbarDrag
HTH,
Jan Schenkel.