Jump to content
uniGUI Discussion Forums


Popular Content

Showing content with the highest reputation since 05/02/20 in Posts

  1. 3 points
    Source: https://github.com/pleriche/FastMM5 Experience/opinions on FastMM5: https://en.delphipraxis.net/topic/2749-experienceopinions-on-fastmm5/ A very simple test of comparing an uniGUI app comipled with Native manager versus New FastMM5 manager : Native Manager: New FastMM5 Manager :
  2. 3 points
    I find a way to use google services with UniMap. I will start to implement google services one by one. - Route - Geocoding - Elevation and more
  3. 2 points
    Sorry but every time the forum software only allow me upload 120kbytes. Download from https://t.me/uniguiexpress Not planning future uploads for now. Tired of this because it never get solved ! See picture below.
  4. 2 points
    Yes I'm currently working on this feature
  5. 2 points
    Speed Test using "Stress Test Tool" Native Manager: 0:04:24 FastMM5: 0:01:57 Native Manager FastMM5
  6. 1 point
    It would be nice to have a tutorial on how to use FastMM on unigui, how to configure it.
  7. 1 point
    I recommend you go to https://zerossl.com/ and generate a new free certificate (dont set password for certificate) and test with that one. And follow the steps above. Make sure to load files into correct properties. Your private key, your certificate and root certificate(may be with bundle). Good luck
  8. 1 point
    Match those files like this: SSL.SSLOptions.RootCertFile := 'gd_bundle-g2-g1.crt'; SSL.SSLOptions.CertFile := 'af6d14e9d.......crt'; SSL.SSLOptions.KeyFile := 'generated-private-key.txt'; or af6d14e9d........pem keyfile should contain -----BEGIN PRIVATE KEY----- (keep it secure) RootCertFile should contain one or more -----BEGIN CERTIFICATE----- (incase of bundle) CertFile contains single -----BEGIN CERTIFICATE----- (this is your certificate) Some thing like this inside UniGUIServerModuleBeforeInit LSSLDir := TPath.Combine(TPath.Combine(TPath.GetPublicPath, PROGRAM_DATA_DIR), 'SSL'); LRoot := TPath.Combine(LSSLDir, 'gd_bundle-g2-g1.crt';); LCert := TPath.Combine(LSSLDir, ''af6d14e9d.......crt'); LKey := TPath.Combine(LSSLDir, ''generated-private-key.txt'; or af6d14e9d........pem'); if FileExists(LRoot) and FileExists(LCert) and FileExists(LKey) then begin SSL.SSLOptions.RootCertFile := LRoot; SSL.SSLOptions.CertFile := LCert; SSL.SSLOptions.KeyFile := LKey; SSL.SSLOptions.Method := sslvTLSv1_2; SSL.SSLOptions.Mode := sslmServer; SSL.SSLOptions.SSLVersions := [sslvTLSv1_2]; SSL.Enabled := True; Log.Info('SSL.Enabled listening Port[' + IntToStr(SSL.SSLPort) + ']', LOG_MAIN); end;
  9. 1 point
    Hello, Can you try to use this approach for now?: procedure TMainForm.UniFormReady(Sender: TObject); begin with UniCalendarPanel1 do JSInterface.JSCall('calendarStore.eventSource.sorters.addSort', [JSControl.JSObject('direction:"ASC", property:"id"')]); end;
  10. 1 point
    Yes Also for month view: .x-calendar-days, .x-calendar-header { overflow-y: scroll; } .x-calendar-weeks-overflow-popup { height: 100% !important; overflow-y: auto; overflow-x: hidden; }
  11. 1 point
  12. 1 point
  13. 1 point
    Попробуйте с defer: UniTreeMenu1.JSInterface.JSCode(#1'.getStore().data.items.forEach(function(el){Ext.defer(function(){el.expand()}, 50)});');
  14. 1 point
    Попробуйте: procedure TMainForm.UniFormCreate(Sender: TObject); begin UniDBLookupComboBox1.JSInterface.JSAddListener('focus', 'function(){this.expand()}'); end;
  15. 1 point
    Попробуйте такое решение: UniDBLookupComboBox.ClietnEvents.ExtEvents -> function select(combo, record, eOpts) { combo.blur(); }
  16. 1 point
    Ну да, добавил еще одно lookup-поле в DatsSet, теперь получилось. Спасибо.
  17. 1 point
    Используйте LookupField тогда, если я правильно понимаю Вас: \FMSoft\Framework\uniGUI\Demos\Desktop\DBLookupComboBox
  18. 1 point
  19. 1 point
    Merhaba, Which build, browser are you using? Do you have a test case?..
  20. 1 point
    Thanks Sherzod, yes I was looking at this demo and the other Printscreen tagged articles on this forum, but implementing them, none produced an image containing the content of the web maps from the UniMap component. After more research I found a solution. The {useCORS: true} entry needs to be added to the solution of freedowsRoO above, and then it works for me. UniMap1.JSInterface.JSCode( 'html2canvas(document.querySelector("#'+ UniMap1.JSId +'"),{useCORS: true}).then(function(canvas) {'+ 'ajaxRequest('#1',"getData",["base64Data="+canvas.toDataURL()])});'); Here is more information. https://stackoverflow.com/questions/46281261/google-map-is-not-displayed-when-using-html2canvas It might not work on all browsers though.
  21. 1 point
    Great job, how did you do? Can you send an example to us simple mortals ?? kkkkkk
  22. 1 point
    Merhaba, Can you try with this config too? procedure TMainmForm.UnimFormCreate(Sender: TObject); begin UnimNumberEdit1.JSInterface.JSConfig('inputType', ['any']); end;
  23. 1 point
    Hello, Are there any additional free or commercial Mobile themes available? Regards
  24. 1 point
    CustomCSS: .x-calendar-weeks-today-cell { background-color: #ddd; }
  25. 1 point
    Hello! I'm planning to offer a low cost ISAPI hosting, but at first I would like someone to check how it works and give me your opinions and recommendations , so I offer 5 "FREE" accounts for the first 5 UNIGUI Forum users that replay this post with "I WANT ONE!!' It's perfect for testing your application in a real world with a powerful server and a very good bandwidth. The FREE account will offer: * 50 Mbps Bandwidth (Shared) * 1 Mysql database * 1 ISAPI Application * 1 FTP Account to access your private folder where your application is allocated * 100MB Disk Space (Application directory+Mysql database) * Control Panel where you can control your Account: Disk space, Unigui ISAPI Application log. * The URL for accessing your app will be: http://hosting.canarmedia.com/yourapp/yourapp.dll * The only requirement for the free account is that you place our logo "Hosted in Canarmedia" in your ISAPI Application and link to www.canarmedia.com ** The number of simultaneous connections to your app/mysql is not limited at first, but could be set in the future depending on the server response. ** ** The free accounts will be FREE for 6 months. ** The paid accounts will have more resources than the free ones. ** Any FREE accounts users can upgrade to paid accounts with more resources when the accounts expires. THX TO ALL!!