Jump to content

Farshad Mohajeri

Administrators
  • Posts

    12121
  • Joined

  • Last visited

  • Days Won

    808

Everything posted by Farshad Mohajeri

  1. So all you need is to attach ScreenMask to the Button which initiates mail sending.
  2. if SMTP.Connected then begin try SMTP.Send( Mensaje ); except Resultado := 'Erro ó enviar a mensaxe'; end; try SMTP.Disconnect; except Resultado := 'Erro ó desconectar do servidor'; end; end; Does above code wait until email is sent? i.e. how do you understand that email is sent?
  3. Please visit the beta forums and download latest 0.88.0 build.
  4. You must instal Ext JS runtime on 2nd PC. See beta forums http://forums.unigui.com/index.php?/topic/1545-version-0880/ You must also set ServerModule->ExtRoot - > [ext]
  5. Have you tried removing all the packages from Delphi.
  6. var S: string; S:= 'LapBarang_'+FormatDateTime('hhmmss.zzz',Now())+'.pdf'; frxPDFExport1.FileName := S; frxPDFExport1.DefaultPath := UniServerModule.LocalCachePath; frxReport1.PrepareReport(); frxReport1.Export(frxPDFExport1); UniURLFrame1.URL := UniServerModule.LocalCacheURL+S;
  7. You can't call a Delphi method from JavaScript. On client side: ajaxRequest(MainForm.UniHTMLFrame1, 'Click', ['sql='+encodeURIComponent(treeNode.SQL)]); } On serverside: procedure TMainForm.UniHTMLFrame1AjaxEvent(Sender: TComponent; EventName: string; Params: TStrings); var S : string; begin if SameText(EventName, 'click') then begin S:=Params.Values['sql']; DoQuery(S); end; end;
  8. I mean the bottom panel displaying current page with navigation buttons..
  9. Desktop = VCL? dll = web? If yes, the only way is to change the page in web mode is using the buttons on the Page controller.
  10. <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE"> Where do you define this?
  11. If you use the same URL it will be cached by the browser. Use a different URL each time.
  12. Nowhere. It is a uniGUI component.
  13. rptURLFrame.URL := UniServerModule.LocalCacheURL + frxPDFExport.FileName; // Displayed on UniURLFrame Can you check and see if a valid URL is generated here?
  14. Ext JS doesn't directly implement a default value for title. You must use a translator (like the one integrated in IDE) to translate resourcestring.
  15. Terminating a session terminates MainModule. Meybe Connections are cached internally.
  16. I think you are referring to a remote web server. To run program.exe on a remote server you either need a dedicated server or a virtual private server.
  17. TUniGUIServerModule is a TDataModule descendant and it reads properties from DFM file when constructor Create() is called. You can try overriding AfterConstruction for this purpose.
  18. procedure TUniServerModule.UniGUIServerModuleBeforeInit(Sender: TObject); begin Port:=1234; end;
  19. ScreenMask will remain visible as long as server is busy. If you want to keep it visible remain in event until your task is fully finished.
×
×
  • Create New...