Jump to content

TUniPDFFrame First Show: ThumbNails Visible - How To Hide ThumbNails before First Showing ?


Recommended Posts

Posted
1 hour ago, andyhill said:

TUniPDFFrame First Show: ThumbNails Visible - How To Hide ThumbNails before First Showing ? 

Hello Andy,

Sorry, what do you mean?

Posted

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 ?

PdfNOThumNail.jpg

PdfThumNail.jpg

Posted

'#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

Posted

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)

Posted
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.

 

Posted
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';
}

 

  • 6 months later...
Posted

 UniPDFRame.ClientEvents.ExtEvents ->

sender.iframe.contentDocument.getElementById('sidebarContainer').style['display'] = 'none';

it is not working... 

image.thumb.png.1d7cb9f26df49a64407182c403d5ab67.png

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...