Hello friends,
Now i restart with evolving
Report.
With webview2 you have full javascript power.
Here is my code for the print button.
You see that the button is deleted during printing.
document.getElementById("fixedbutton").style.display = 'none'
Best regards,
Otto
Now i restart with evolving
Report.With webview2 you have full javascript power.
Here is my code for the print button.
You see that the button is deleted during printing.
document.getElementById("fixedbutton").style.display = 'none'
Best regards,
Otto
 <style>
      #fixedbutton {
        position: fixed;
        top: 0px;
        left: 0px;
      }
    </style>
    <button id="fixedbutton" class="btn btn-dark" onclick="druck()" type="button" id="look">Print</button>Â
   Â
    <script>
      function druck() {
        document.getElementById("fixedbutton").style.display = 'none' Â
        window.print();
      }
     Â
    </script>