Jump to content

SISBLU Software

uniGUI Subscriber
  • Posts

    196
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by SISBLU Software

  1. I understand. But I have to click My button on my form and then click SEARCH Button again

     

    Isn't there a way for me to just click on my FORM button and run the button without showing the UNIFILEUPLOAD FORM?

     

  2. What is the solution to this?
    I want to click on a button to apply CTR + V,
    But Clipboard does not work on the client only on the server


    procedure TUniNF.UniButton1Click (Sender: TObject);
    begin
    Uniedit1.text: = Clipboard.AsText;
    end;

  3. How can I implement this for printing? UNIMHTMFRAME, OR URLFRAME

    function sendUrlToPrint(url){
        var  beforeUrl = 'intent:';
        var  afterUrl = '#Intent;';
        // Intent call with component
        afterUrl += 'component=ru.a402d.rawbtprinter.activity.PrintDownloadActivity;'
        afterUrl += 'package=ru.a402d.rawbtprinter;end;';
        document.location=beforeUrl+encodeURI(url)+afterUrl;
        return false;
    }
    // jQuery: set onclick hook for css class print-file
        $(document).ready(function(){
            $('.print-file').click(function () {
                 return sendUrlToPrint($(this).attr('href'));
            });
        });


    // or direct
    <a href="#" onclick="return sendUrlToPrint('http(s)://yousite.com/test.txt');">.txt</a>";

     

    link: https://rawbt.ru/start.html

×
×
  • Create New...