JavaScript movePage

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

tdonovan
User
Posts: 61
Joined: Tue Jun 12, 2007 9:21 pm

JavaScript movePage

Post by tdonovan »

I am getting an error (and it happens with the SDK Viewer control or in your full viewer program. If I call JavaScript with

this.movePage(10,0);

The program crashes. If the first page is lower to a higher page, all is fine, but it seems if the first page is higher and it's moving to a lower page there is a crash. I am pretty sure the documentation for movePage allows moving in either direction.

I am using the latest 192 build.

Thanks.
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19885
Joined: Mon Jan 12, 2009 8:07 am

Re: JavaScript movePage

Post by Stefan - PDF-XChange »

Hello TDonovan,

I have asked the devs to have a look here, and we will advise shortly why this is happening.

Best,
Stefan
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3586
Joined: Thu Jul 08, 2004 10:36 pm

Re: JavaScript movePage

Post by Ivan - Tracker Software »

Thanks for report. Problem is fixed, and fix will be available in the next build.
PDF-XChange Co Ltd. (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.