Ban Nguyen wrote:
Hello everyone,


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")

RevPrintField will only print a field. You are trying to print a group. It won't work. TThe error says "no such object" because there is no field named "myField".

To print a group, set the scroll of the group to 0. Print the card. Then set the scroll of the group to the current scroll plus the height of the group. Print the card again. Do that inside a repeat loop until the group is completely printed.



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




Has anyone went throught this situation?  Please help




_______________________________________________
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





--
Jacqueline Landman Gay         |     [EMAIL PROTECTED]
HyperActive Software           |     http://www.hyperactivesw.com
_______________________________________________
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