I am having a problem with revPrintField

Here is the problem:
I create a stack
On the card, I create a text field (has a many lines of text), 5 images, then I group them and make scroll bar so user can scroll up and down to
see the text and images (name the group as "myField")

Then on the same card, I create a button called "print" and put this
code into the print button:

on mouseUp
  revPrintField the name of field "myField"
end mouseUp

This is the error I got when I click on "print":

         executing at 2:32:48 PM
Type    Chunk: no such object
Object    Button
Line    revPrintField the name of field "myField"
Hint    myField

You have named the GROUP "MyField" and then are trying to print the field using the group's name. What is the name of the field?

Calling the group "MyField" will only lead to confusion. Call it "MyFieldGroup" or something similar so that it is obvious that it is a group & not a field. Then rename your field to "MyField" and use the script line:
    revPrintField the long name of field "myField"

HTH,
Sarah

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to