Previous | Next | (P-PDF) Acrobat 6.0
Topic: Re: Button Behavior (Via Email)
Conf: (P-PDF) Acrobat 6.0, Msg: 89745
From: prodok
Date: 6/13/2003 09:37 AM
The main problem here is not the actions per se, but the event they
are attached to.
I assume that you want to have the user click on that button and then
those actions to occur.
Now, it is a misconception, particularly among beginners (in
programming with graphical user interfaces) that clicking is when you
press the mouse button.
THIS IS WRONG.
Clicking is not when you press the mouse button, but when you
_RELEASE_ the mouse button.
Therefore, anything you actually do when you click, must go to the
MouseUp event.
Hope, this can help.
Max Wyss
PRODOK Engineering
Low Paper workflows, Smart documents, PDF forms
CH-8906 Bonstetten, Switzerland
Phone: +41 1 700 29 21
Fax: +41 1 700 20 37
or +1 815 425 6566
e-mail: mailto:max@prodok.com
http://www.prodok.com
[ Building Bridges for Information ]
______________________
>I have a database (approximately 6000 pages) that contains reference
>materials and forms that my organization uses on a daily basis. The
>starting point is a single page .pdf file that has buttons by which
>the user navigates to a specific topic. The buttons have mouse down
>actions which open another file then executes a menu command
>file>close. After clicking the button a dialog box appear stating:
>
>"One of the actions closed the document. The actions following that
>action were not executed. To execute all actions, move the action
>that closes the document to the end."
>
>The problem is that the menu command action is already the last
>action. Ironically, if I set the file>close menu command as the
>first action, I do not receive this message (even though there are
>actions remaining). I am able to get it to work without the message
>if I attach the file>close command to a mouse up. However, that is
>noticeably slower.
>
>This worked fine in Acrobat 5. Is anyone else having the same
>problem or are there any suggestions?
>
>