Printing a field content

Deploying to Mac OS? Ask Mac OS specific questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Mag
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 802
Joined: Fri Nov 16, 2012 10:51 pm

Printing a field content

Post by Mag » Fri Apr 12, 2013 11:41 am

I'm trying this code but nothing appens...

Code: Select all



on printOutputField
   open printing with dialog as sheet
   if the result is "Cancel" then exit printOutputField 

   revPrintField field (the name of field "outputField") -- Prints the text in the field using the field's text properties.
   close printing
end printOutputField


I'm sure I do something wrong but I do not know what, any idea? :oops:

Klaus
Posts: 13828
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Printing a field content

Post by Klaus » Fri Apr 12, 2013 11:48 am

Hi Mag,

looks like one FIELD too much:
...
## revPrintField field (the name of field "outputField")
revPrintField the name of field "outputField"
...


Best

Klaus

Mag
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 802
Joined: Fri Nov 16, 2012 10:51 pm

Re: Printing a field content

Post by Mag » Fri Apr 12, 2013 12:17 pm

Thank you so much Klaus. Now it works great. :D

Post Reply

Return to “Mac OS”