Jump to content


Photo

Mobile PDF Frame Resize Event Does Not Appear To Fire

pdf

  • Please log in to reply
No replies to this topic

#1 andyhill

andyhill

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 355 posts
  • LocationMelbourne Australia

Posted 29 April 2018 - 01:19 AM

I am trying to limit the scaling of the Mobile Form that the PDFFrame inflicts on the Parent Form.

 

I have tested for the resize fire event and it appears not to fire ?

 

  PDFFrame.ClientEvents.ExtEvents.Clear;
  PDFFrame.ClientEvents.ExtEvents.Add('resize=function resize(sender, eOpts) '#13#10+
                                      '{ '#13#10+
                                      '  function resize(sender, width, height, oldWidth, oldHeight, eOpts) '#13#10+
                                      '  { '#13#10+
                                      '    alert(width); '#13#10+
                                      '  } '#13#10+
                                      '} ');
 
Later, I want to reset the form scale after testing the new width against a maximum value - please advise - thanks
 
      -webkit-transform: scale(0.5);
      transform: scale(0.5);
      -webkit-transform-origin: 0 0;
      transform-origin: 0 0;

 


  • 0

Andy






Also tagged with one or more of these keywords: pdf

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users