Jump to content

Oliver Morsch

uniGUI Subscriber
  • Posts

    356
  • Joined

  • Last visited

  • Days Won

    18

Everything posted by Oliver Morsch

  1. Or select the Text with mouse and press <CTRL>+<C>.
  2. I think you should do it the other way around: send the e-mail in a thread.
  3. You have to use "web sockets" or "long polling". Edit: In your example you should use ".LockList" / ".UnLockList"
  4. I had tested with an old version long time before. Now I have tested with FMSoft_uniGUI_Plus_Professional_1.0.0.1399_RC and everything is fine, Thank You.
  5. If I use SendFile twice or more with the same filename, the browser takes the file out of the cache instead the new one. At the moment I add a Timestamp to the filename, but is there a way to do without a unique name?
  6. Thanks for the information. Seems to be a delphi problem.
  7. I make it similar to you. My only problem is when adding a new form or frame in debug mode Delphi deletes sometimes the "ServiceModule in 'Service\ServiceModule.pas'". Do you have same problem?
  8. TIdHTTP (if there is not too much Javascript for displaying the site correctly)
  9. That seems to be a problem in latest ODAC Version. Older versions work.
  10. A timer is a easy solution (if there are not too much sessions). But where is the problem with long polling (above examples)?
  11. Web sockets is the more modern way, but i think long polling is easier. I used here and here.
  12. It is not a standard. Chrome does/did support it. Alternative: Open Windows Explorer -> open the folder -> Press <ctrl>+<a> -> use drag & drop to browser (multiple file upload, see post #8)
  13. You can view most websites in UniURLFrame (= iframe), but you get no access to its content (if server or port are not the same => "same origin policy")
  14. Yes -> UniURLFrame Only if same servername and port.
  15. https://drafts.csswg.org/css-page-3/ But browser support is not so good at the moment.
  16. procedure TfrmMain.OpenFrame(Sender: TObject); var ts: TUniTabSheet; fra: TUniFrame; begin ts := TUniTabSheet.Create(self); ts.Caption := (Sender as TUniMenuItem).Caption; ts.PageControl := PageCtrl; // PageCtrl.TabIndex := -1; // Workaround / Issue #1025 / Nicht mehr notwendig ?! PageCtrl.ActivePage := ts; fra := TFrameClass((Sender as TUniMenuItem).Tag).Create(self); // type TFrameClass = class of TUniFrame; ts.Tag := Integer(fra); // call "TComponent(PageCtrl.ActivePage.Tag).Free;" when close TabSheet (ActivePage) later fra.Name := fra.Name + IntToStr(Integer(fra)); // to open a frame more than once fra.Align := alClient; fra.Parent := ts; end;
  17. Application form is the easy one. Create and Free works automaticly, just call the name. Free form is more flexible. You can decide when create and free is called and you can have more than one form instance per session.
×
×
  • Create New...