Jump to content

ThiagoFiorilli

uniGUI Subscriber
  • Posts

    13
  • Joined

  • Last visited

Posts posted by ThiagoFiorilli

  1. Olá, amigos.
    Como posso retornar as informações de um documento PDF carregado no documento UniPDFFrame?
    Eu preciso pegar as informações Tamanho do arquivo e número de páginas.

    O código abaixo retorna o número de páginas, mas eu não conseguir atribuir em uma variável. Ou seja, preciso do pageNumber e FileSize
     

    UniPDFFrame1.JSInterface.JSCode('if ('#1'.iframe&&'#1'.iframe.contentDocument.getElementById("pageNumber")){alert('#1'.iframe.contentDocument.getElementById("pageNumber").value)};');


     

  2. 6 hours ago, Sherzod said:

    Exactly what are you talking about?

    What do you mean? Explain in more detail.

    Example: I added in the list:

    All; A, B, C

    If checked "All", then check all items, if uncheck "All" then uncheck all items. 

    That way, if I know that the clicked item was "All", then I can do what I need...

     

  3. I'm having the same problem in the tests done in IIS with the DLL, when sending a message using the command:

    BroadcastMessage('chat', ['chatText', S]);

    Displays the error:
    "Access violation at address 025EB20C in module"
    "Read of address 00000008"

    And also the command:
    UniServerModule.WebSocketStack.GetSessionSocket(UniSession.SessionId)
    Always returns "Nil"

    Could someone help us?

×
×
  • Create New...