Jump to content

Oliver Morsch

uniGUI Subscriber
  • Posts

    356
  • Joined

  • Last visited

  • Days Won

    18

Everything posted by Oliver Morsch

  1. Try .x-btn { border-color: #86CD31; }
  2. http://caniuse.com/#search=video
  3. Sorry. I see onedrive uploads in parts, if file is bigger than 100 MB: https://dev.onedrive.com/items/upload_large_files.htm
  4. I think cloud services (onedrive, dropbox, ...) do the same in their APIs...
  5. I would use HTTP POST instead of a FTP server for uploading files.
  6. UniGui creates a web app, so there must be a http server. Port is the same as your app.
  7. idHTTPServer in MainForm or MainModule results in one server per session. And each server neeeds an own port. Just use UniServerModule->OnHTTPCommand.
  8. (1) UniUrlFrame1 is part of master, so the request goes to the master app. (2) You can access the content of an UniUrlfFrame (= iframe) and call a JS function (for example), but only if the server and port is the same (browser security) -> only with ISAPI (same port!) (3) use a XHR to other server
  9. xxf is TUniForm and TUniForm has no edit1: (1) XXF: Tffilter; or (2) (xff as tffilter).edit1.text := 'xxxxx'
  10. This can't work with HTTP. HTTP is always: Request (from Client) -> Answer (from server). In Your Example, there are no Requests (from the different sessions), so the server can't give an answer. You need long polling or web sockets...
  11. It should be free form, because you should not use the function "MyForm" generated in application form. This function handles (creates and destroys automaticly) only one instance per session.
  12. When you create the form, choose "free form" (not "apllication form"). Then you can use: MyFormCopy := TMyForm.Create(uniApplication); MyFormCopy.Show;
  13. Oliver Morsch

    themes

    Press <CTRL><+> in browser for bigger content.
  14. What is wrong with solution in post #10? Or what didn't you understand?
  15. 3) or you use this "long polling example" to need only http client (request) in your App and one real server. So no problem to know the ip and port on each client and it works over internet, not only intranet.
  16. Use a HTTP server and you can use XMLhttpRequest in JS or such a call from server side in delphi. (You must know IP and Port.) It is similiar to this.
  17. (1) local Application has a server component, you "talk" to this server what to do (2) local Application has a registered URI: You call a Linkt with this URI. For Example a link tel:12345 starts a phone app calling this number. You can use your own URI.
  18. Make a local application with a server or a registerd URI.
  19. Or make your own blocking dialogs whitout need for callbacks.
  20. Converting HTML to PDF: http://wkhtmltopdf.org/
  21. You have to set "64 bit Windows" as target in Delphi (since Delphi XE2) to create a 64 bit exe or dll. Used Windows must then be 64 bit too.
  22. Since each session uses a thread multi core is the best choice. "a lot of RAM" is useless if you develop in 32 bit
×
×
  • Create New...