couple of questions

Alex Rice alrice at ARCplanning.com
Thu Feb 6 20:16:01 EST 2003


1) I am working on printing a report, and have gotten as far as copying 
a my report group to another stack, resizing the group and the stack to 
fit the contents, setting the formatForPrinting property. Ready to 
print. Printing with "print stack" works OK. Now I need to do 
pagination, ideally also do page numbering, and ideally do sizing of 
the print job to the user's printer/paper size. Does anyone have sample 
code they could share, or have posted in the past to this list, which 
shows how to do this non-trivial kind of printing. Especially the paper 
size and pagination?

2) I'm learning about colors and property inheritance. I just set my 
stack's backColor to white and now all my buttons (lots of them) are 
white too. I want grey buttons. Do I have to set the backColor of each 
button to grey? I can script it in the message box, but there must be 
an easier way. At first I was thinking this would be a good use for 
Profiles, now I'm not so sure. A lot of the buttons don't belong to a 
group that would be useful for setting the backColor in.

Many thanks,

Alex Rice, Software Developer
Architectural Research Consultants, Inc.
alrice at ARCplanning.com
alrice at swcp.com






More information about the use-livecode mailing list