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 »

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: 10501
Joined: Wed May 06, 2009 2:28 pm

Re: how to print a scrolling table?

Post by dunbarx »

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 »

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 »

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: 10501
Joined: Wed May 06, 2009 2:28 pm

Re: how to print a scrolling table?

Post by dunbarx »

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