PDA

View Full Version : Page UP/ Page DOWN in a PDF window


duncan_ellison
05-27-2005, 06:41 AM
I have an AMS 5.0 page with details about a product and a button which makes a web object visible and displays further details about the product from a pdf file.

My problem is that the PDF file is quite long and I need to page up / Page down to read it. This is all fine on a PC, but I run this on a kiosk with a touch screen and no keybaord.

I've created two buttons for "UP" and "DOWN", but have no way to connect these to the PDF viewer in the web object. Anyone know how to achieve this ?

Worm
05-27-2005, 06:48 AM
You could use the keystrokes dll to send a PageUp or Down to the web object. Search the forums, there are quite a few examples of using it.

Worm
05-27-2005, 07:28 AM
Here's an example.

duncan_ellison
05-27-2005, 12:13 PM
Worm, that's brilliant .... and a free example as well.

Just one problem now, I can't see how I get the keystrokes DLL integrated into my application. You sent a APZ which (apparently) contains the DLL, but how does that get into MY project ?

Sorry if this is a real thick question, but at least I've scanned to board for an answer first.

Worm
05-27-2005, 12:21 PM
Once you've brought the APZ in as a project, you can find the two DLLs I used under the Docs folder. There should be a KeyStrokes.DLL, and a Mouse.DLL

Also, grab the Global Functions I wrote and copy/paste them to your project, they make things a little easier to use :)

duncan_ellison
05-28-2005, 04:31 AM
Thanks Worm,

That acheives just about everything I was trying to do here.

Duncan