Jump to content

Pep

uniGUI Subscriber
  • Posts

    142
  • Joined

  • Last visited

  • Days Won

    11

Everything posted by Pep

  1. Thank you for your kind words and congratulations—I really appreciate it!
  2. Thank you very much, Fernado I am glad to hear that you find this component for uniGUI useful.
  3. Hola abraham, Si te refieres a leer una clave del regedit del servidor, lo puedes hascer de la misma manera que lo harias en una aplicación de escritorio de Delphi: https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Using_TRegistry
  4. Hello Sherzod, According to the guidelines stated in the FAQ section of the Google Charts documentation (https://developers.google.com/chart/interactive/faq#using-the-api), it is required that your users' computers have access to the "https://www.gstatic.com/charts/loader.js" file in order to utilize the interactive features of Google Charts. const JS_RESOURCE_GCHARTS_LOADER : string = '<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>'; The reason I provided that specific answer was to ensure compliance with Google's terms of service. It is important to note that the source code of the components directly references "https://www.gstatic.com/charts/loader.js" in order to adhere to these terms.
  5. cfs.GCharts.uniGUI.pas (Line 115): const JS_RESOURCE_GCHARTS_LOADER : string = '<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>';
  6. You can check this topic: http://forums.unigui.com/index.php?/topic/8298-screen-examples-of-youre-application-designs/
  7. Hi Flavio, I just uploaded the package *.dpk for Delphi 11.2 Alexandria https://github.com/JosepPages7/Delphi-GCharts/tree/main/package
  8. Hi jrp I just uploaded a new version that allows print the frame with the graph or graphs. See demos. procedure TMainForm.btnPrintChartClick(Sender: TObject); begin uniGChartsFrame1.DocumentPrint; end;
  9. Hello Picyka, It is not possible to publish the ClientEvents property because Google Charts is not a component of "Sencha Ext. JS" and therefore does not support its events. On the other hand, I have looked if it is possible to capture the right mouse button from Google Charts and in the official documentation it does not mention that this is possible. Searching the internet I have seen this post https://groups.google.com/g/google-visualization-api/c/NgXzGOzVcHY according to which "Google cancels the propagation of right-click events in almost all visualizations, ..." I'm sorry but haven't a solution to this.
  10. Hello Alberto, I have an uniGUI application running with Hyperserver (via ISAPI) that connects to a REST server without any problem. Try with the Hyperserver configuration. To install Hyperserver with ISAPI I followed all the instructions in the uniGUI manual and everything worked correctly. The manual for ISAPI: http://www.unigui.com/doc/online_help/index.html?isapi_module.htm And the manual for Hyeprserver and ISAPI: http://www.unigui.com/doc/online_help/index.html?installing-and-configuring-hyp.htm The are a lots of advantages with Hyperserver : The updates of the executable are very easy and you can do it without stopping the service. Scalibility ...
  11. Hello Harry, It's possible to read in LocalStorage in TUniMainModule on event "UniGUIMainModuleBeforeLogin"? I use this event to read a session cookie to validate "remember me" option in login forrm. In this sample, shows how to read data after form is ready, but that it's not the case in that situation. It would be nice to have demo of "LoginForm using LocalStorate" like the sample "LoginForm Cookies" that comes in demos folder of uniGUI. Thanks.
  12. Wilton, Thank you so much for sharing your experience and good luck with the "url redirect". Many of us are following your multi server tests with great interest.
  13. Hello Wilton, I think that you refers to this link https://en.wikipedia.org/wiki/Single-page_application, isn't it? 😉
  14. Hello, I recomend to see this session "Maximise Your Delphi Productivity, all video is very instresting but particulary I learned to use "Multipaste" feature, you can see it in Video in minute 46:45. Very useful to copy/paste SQL strings in code window.
  15. Today starts DelphiCon 2021: schedule The registration is free.
  16. @andyhill and @Abaksoft, thank you very much!
  17. andyhill, thank you for your response, but I don't know, how to use localStorage in MainModule using BeforeLogin Event, because Mainmodule has not visual elements so I cant' use "edtUserName" (TuniEdit) to load a value from localStorage. Maybe there is a way to do it but I don't know...
  18. Hello Tokay, I'm in last version: 1.90.0 build 1555 and "UniServerInstance.ServerResources.MemoryUsed" returns a value. In my case this value is the exactly same that returns this function to caculate the memory used by a Delphi App (I get it from stackoverflow) uses FastMM4; //include this or method will return 0. function GetMemoryUsed: UInt64; var st: TMemoryManagerState; sb: TSmallBlockTypeState; begin GetMemoryManagerState(st); result := st.TotalAllocatedMediumBlockSize + + st.TotalAllocatedLargeBlockSize; for sb in st.SmallBlockTypeStates do begin result := result + sb.UseableBlockSize * sb.AllocatedBlockCount; end; end; Note: My Delphi Version is 10.4.2
  19. Hello, With the last published uniGUI version v1.90.0.1555 this issue has been solved. Thank you very much!
  20. Hello, I found this Issue using OnRemoteQueryEvent with ExtJSVersion 7.4.0 activated: When the user types text in combobox, the list doesn't show the first record that match the criteria. You can test the problem with "DBLookupComboBox - Custom Remote Query" in Demos folder. Left window with 7.0.0 version activated it show the first row that match the text. Right window with 7.4.0 version activated it shows a random row. Please can you confirm this issue? Thanks.
  21. Thank you very much for share it!!
  22. Wow!! Will it be released in the next version of unigui?
  23. Hello, Here is an example of how to load 1200 combo boxes with no waiting time. The trick is create the comboboxes when the user click for the first time the tab and use "OnBeforeFirstActivate" event: procedure TMainForm.UniTabSheetBeforeFirstActivate(Sender: TObject; var AllowActivate: Boolean); begin AllowActivate := True; GenerateCtrls(Sender as TUniCustomPanel); end; procedure TMainForm.GenerateCtrls(AParent: TUniCustomPanel); var I: Integer; ComboBox: TUniComboBox; begin SuspendLayouts; try for I := 0 to 99 do begin ComboBox := TUniComboBox.Create(Self); ComboBox.Parent := AParent; ComboBox.Height := 25; ComboBox.LayoutConfig.Width := '100%'; ComboBox.Text := (APArent.Tag * 100 + I).ToString; end; finally ResumeLayouts; end; end; Therefore, you can use this technique to quickly load forms with many components. In a real world case, it is better to design frames with components and load the frame when the user clicks the tab for the first time. uniGUI_Dynamic.7z
×
×
  • Create New...