Jump to content

Mobile PDF Frame Resize Event Does Not Appear To Fire


andyhill

Recommended Posts

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;

 

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...