Jump to content
uniGUI Discussion Forums
Sign in to follow this  
andyhill

Mobile PDF Frame Resize Event Does Not Appear To Fire

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;

 

Share this post


Link to post
Share on other sites
Sign in to follow this  

×