Jump to content

albertovesx

uniGUI Subscriber
  • Posts

    581
  • Joined

  • Last visited

  • Days Won

    12

Everything posted by albertovesx

  1. Hi, I did not know that frxDBDataSet is not threadsafe, so how can we do this?: "Try to store the database connection in the report with TUniDac Connection" Best regards
  2. Hi, Is it possible to have a SweetAlert component with anonymous method instead of OnConfirm or OnDismiss method? Something like this: SweetAlert1.show( procedure(Res: Integer) begin end; ); Thanks.
  3. Hi, Which uniDAC Versión number?
  4. Add two @ en showmessageDlg messageDlg('@@Continue?', mtConfirmation, MBYESNO, procedure(sender: Tcomponent; res: integer) begin
  5. Why dont you just set screenmask to the buttón who close the form?
  6. Hi, I am consuming services from other systems. for example Google API. In other words, I am a client for REST.
  7. Hi, I solved my problem usig this library: https://github.com/viniciussanchez/RESTRequest4Delphi
  8. Thanks for your answer, Pep. I'm going to try.
  9. hi I have an unigui app that consume a webservice through standar delphi REST components. When I deploy as exe there is not problem at all; but when I deploy it as ISAPI in IIS then I cant get the response. I made some tests and the web service response correctly, but unigui app does not receive the response. Can somebody help me? Are there special configurations that I have to make in IIS?
  10. I use a virtual table. It is filled with all other sources and then I just link a Dbgrid with the virtual table.
  11. source: https://stackoverflow.com/questions/43068738/get-static-image-from-google-map-for-given-area https://maps.googleapis.com/maps/api/staticmap?size=600x400&markers=icon%3Ahttp%3A%2F%2Fwww.google.com%2Fmapfiles%2Farrow.png|41.39479%2C2.148768&visible=41.320004%2C2.069526|41.469576%2C2.22801&key=yourapikeyhere
  12. Hi, is it thread safe to add a standard Delphi Unit to use database manipulation functions with object from mainmodule? for example: function getInformation(DataSet: TuniQuery): Boolean; begin // do something end; //call it like this if getInformation(MainModule.qryPerson) then // do something
  13. is it correct to use UniMainModule.onDestroy to free memory of mainmodule objects?
  14. procedure delScreenMask() begin unisession.AddJS('document.querySelectorAll("div.x-mask").forEach(e => { if (e.style["background-color"] == "transparent") e.remove()})'); end; frmbuscar.showmodal( procedure(sender: Tcomponent; res: integer) begin delScreenMask(); end );
  15. Hi, I made this procedure and just call it after showmodal in order to remove the screenmask that remains active, but transparent. It works fine, but the browser needs to be upgrated to recent version. procedure delScreenMask() begin unisession.AddJS('document.querySelectorAll("div.x-mask").forEach(e => { if (e.style["background-color"] == "transparent") e.remove()})'); end; frmbuscar.showmodal( procedure(sender: Tcomponent; res: integer) begin delScreenMask(); end );
  16. Never mind I found it in border sample, sorry
  17. I cant use splitter when i set layout in client side. how can achive this? best regards
  18. Can someone tell me why this code generate an exception? I can´t call components stored in unimainmodule. Ttask.run( procedure begin unimainmodule.Query.open; end ); or Ttask.run( procedure begin TThread.Queue(nil, procedure begin uniMainModule.Query.open; end ); end ); Best regards.
×
×
  • Create New...