Jump to content


Photo

UniPDFFrame improvement request

PDF TUniPDFFrame

  • Please log in to reply
2 replies to this topic

#1 Oscar Flor

Oscar Flor

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 140 posts
  • LocationAsuncion

Posted 28 July 2017 - 07:26 PM

Mr. Farshad:

 

If it is possible...to add a "Options" or "Buttons" property to the TUniPDFFrame to enable/disable visible/hide the buttons of the default PDF viewer of the browsers.

 

There a situations where I dont want my users to download using the default download button but a specially button to for example, register the date and time where the user really download the file not only see on the screen.

 

Thanks and

Best Regards

Attached Files


  • 0

Oscar Flor
Sebaot Software


#2 Delphi Developer

Delphi Developer

    Advanced Member

  • Moderators
  • 3475 posts

Posted 28 July 2017 - 09:17 PM

Hi,

 

Maybe not a good solution for now, but you can add this in viewer.css:

.download {
    display:none !important; 
}

.print {
    display:none !important;
}

https://stackoverflo...le-using-pdf-js

 

Best regards,


  • 1

#3 MarkLince

MarkLince

    Active Member

  • uniGUI Subscriber
  • PipPipPip
  • 81 posts

Posted 05 August 2017 - 11:06 AM

Hi,

I really need this too. How do I set this when my form with PDFFrame loads?

Thanks

Mark


  • 0

Delphi xe7

uniGUI Complete - Professional Edition V1.00 1402






Also tagged with one or more of these keywords: PDF, TUniPDFFrame

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users