andyhill Posted January 24, 2024 Posted January 24, 2024 TUniPDFFrame First Show: ThumbNails Visible - How To Hide ThumbNails before First Showing ? Quote
Sherzod Posted January 24, 2024 Posted January 24, 2024 1 hour ago, andyhill said: TUniPDFFrame First Show: ThumbNails Visible - How To Hide ThumbNails before First Showing ? Hello Andy, Sorry, what do you mean? Quote
andyhill Posted January 24, 2024 Author Posted January 24, 2024 PDFViewer On First Show Has ThumbNails shown I do not want to show ThumbNails on the PDFViewer's First Showing How do I set PDFViewer not to be toggled into ThumbNail View on First Showing ? Quote
Sherzod Posted January 24, 2024 Posted January 24, 2024 This post may help you, can you check? Try and tell me if it suits you to use UniURLFrame instead of UniPDFFrame. Quote
andyhill Posted January 24, 2024 Author Posted January 24, 2024 '#toolbar=0' No longer works, also tried '&pagemode=none'. C:\Program Files (x86)\FMSoft\Framework\uniGUI\uni-1.95.0.1577\pdf.js\web\viewer.js has "disablePageMode" set to 'false' in two locations, I changed this to 'true' but it made no difference ? Please provide a way to NOT SHOW THUMBNAILS OF FIRST SHOWING Quote
Sherzod Posted January 25, 2024 Posted January 25, 2024 14 hours ago, andyhill said: '#toolbar=0' No longer works, also tried '&pagemode=none'. On what component did you check? Quote
andyhill Posted January 26, 2024 Author Posted January 26, 2024 TUniPDFFrame UrlStr:= 'images/invoice/'+UniMainModule.PdfFileName; DateTimeToString(s, 'yyyymmddhhmmss', Now()); PdfFrame.PdfURL:= UrlStr+'?'+s+'#toolbar=0'; PdfFrame.PdfURL:= UrlStr+'?'+s+'&pagemode=none'; // (none, thumbs, bookmarks, attachments) Quote
Sherzod Posted January 27, 2024 Posted January 27, 2024 9 hours ago, andyhill said: TUniPDFFrame On 1/24/2024 at 11:56 AM, Sherzod said: Try and tell me if it suits you to use UniURLFrame instead of UniPDFFrame. Quote
Sherzod Posted January 27, 2024 Posted January 27, 2024 9 hours ago, andyhill said: TUniPDFFrame For this component you can use one of the possible solutions: UniPDFRame.ClientEvents.ExtEvents -> function frameload(sender, frame, eOpts) { sender.iframe.contentDocument.getElementById('sidebarContainer').style['display'] = 'none'; } Quote
andyhill Posted January 27, 2024 Author Posted January 27, 2024 YES YES YES - Thank You Sherzod Quote
mofareh Posted July 31, 2024 Posted July 31, 2024 UniPDFRame.ClientEvents.ExtEvents -> sender.iframe.contentDocument.getElementById('sidebarContainer').style['display'] = 'none'; it is not working... Quote
Sherzod Posted August 1, 2024 Posted August 1, 2024 Build, browser? Make a testcase if possible. Quote
Ron Posted August 1, 2024 Posted August 1, 2024 This works for me: urlframe.URL:=fName+'#toolbar=0&navpanes=0&scrollbar=0'; Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.