how to print a scrolling table?

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
scott47303
Posts: 17
Joined: Tue Aug 10, 2010 3:16 pm

how to print a scrolling table?

Post by scott47303 » Thu Feb 24, 2011 7:00 pm

I have a table populated with data that i want to print, but it has many lines so its has a scrollbar. How can I print the whole thing?

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10305
Joined: Wed May 06, 2009 2:28 pm

Re: how to print a scrolling table?

Post by dunbarx » Thu Feb 24, 2011 8:50 pm

The command "revPrintField" should work. It doesn't care what part of the field is visible, or where it is scrolled. Read about naming the field carefully.

Craig Newman

scott47303
Posts: 17
Joined: Tue Aug 10, 2010 3:16 pm

Re: how to print a scrolling table?

Post by scott47303 » Thu Feb 24, 2011 9:10 pm

Thanks! I think that will get me what i need.

scott47303
Posts: 17
Joined: Tue Aug 10, 2010 3:16 pm

Re: how to print a scrolling table?

Post by scott47303 » Tue Mar 01, 2011 8:37 pm

Ok i can print a single field, but how do i scale it or get more than one field onto one piece of paper? I tried the printscale but it doesnt seem to work on revprintfield.

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10305
Joined: Wed May 06, 2009 2:28 pm

Re: how to print a scrolling table?

Post by dunbarx » Wed Mar 02, 2011 12:01 am

Would the "revprintText" command, coupled with a field template do? You can always get your field text and print it that way.

Others may have better ideas...

Craig Newman

Post Reply