scrolling header field
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 137
- Joined: Thu Jul 24, 2008 11:22 pm
scrolling header field
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?
-
- VIP Livecode Opensource Backer
- Posts: 977
- Joined: Sat Apr 08, 2006 7:47 am
- Contact:
Hi Glenn,
You can make two fields scroll at the same time by tapping into the 'scrollbarDrag' message from your table field.
HTH,
Jan Schenkel.
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
Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com
www.quartam.com