Is there something I haven't gotten about XPDFViewer on Win 10?
This code works great on Mac, however the viewer never becomes visible on Win.
on mouseup
put basepath&"/entryforminstructions.pdf" into fn1
XPDFViewer_Open "instructions", the windowID of this stack
XPDFViewer_Set "instructions", "rect", (10, 64, 789, 542)
XPDFViewer_Set "instructions","fileName",fn1
XPDFViewer_Set "instructions","visiblity",true
XPDFViewer_Set "instructions","hscrollbar",false
XPDFViewer_Set "instructions","vscrollbar",true
XPDFViewer_Zoom "instructions","width"
XPDFViewer_GoToPage "instructions", "first"
show grp "Instructions"
end mouseup
This is the first time I have used the XPDFViewer.
Thanks for any help.
David K.
XPDFViewer not visible on Win 10
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: XPDFViewer not visible on Win 10
The problem is with the code.
in the XPDFViewer_Set you have used "visibility" rather than "visible" as the property name.
I have no idea why it works in Mac. Maybe "visible" is "true" is the default in Mac.
in the XPDFViewer_Set you have used "visibility" rather than "visible" as the property name.
I have no idea why it works in Mac. Maybe "visible" is "true" is the default in Mac.