andyhill Posted January 24 Share Posted January 24 TUniPDFFrame First Show: ThumbNails Visible - How To Hide ThumbNails before First Showing ? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted January 24 Share Posted January 24 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 Link to comment Share on other sites More sharing options...
andyhill Posted January 24 Author Share Posted January 24 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 Link to comment Share on other sites More sharing options...
Sherzod Posted January 24 Share Posted January 24 This post may help you, can you check? Try and tell me if it suits you to use UniURLFrame instead of UniPDFFrame. Quote Link to comment Share on other sites More sharing options...
andyhill Posted January 24 Author Share Posted January 24 '#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 Link to comment Share on other sites More sharing options...
Sherzod Posted January 25 Share Posted January 25 14 hours ago, andyhill said: '#toolbar=0' No longer works, also tried '&pagemode=none'. On what component did you check? Quote Link to comment Share on other sites More sharing options...
andyhill Posted January 26 Author Share Posted January 26 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 Link to comment Share on other sites More sharing options...
Sherzod Posted January 27 Share Posted January 27 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 Link to comment Share on other sites More sharing options...
Sherzod Posted January 27 Share Posted January 27 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 Link to comment Share on other sites More sharing options...
andyhill Posted January 27 Author Share Posted January 27 YES YES YES - Thank You Sherzod Quote Link to comment Share on other sites More sharing options...
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.