Stemon63 Posted June 23, 2023 Posted June 23, 2023 Hi, I have noted that IDE very slow with 20-30 UniDBText component in Delphi 10.3 - 11; If i use only UniDbedit works well, but if I use UniDbText the form is very very slow ad design time when move components. It refresh continuosly. I have forms that display 40-50 DBtexts (invoices, etc..) Anyone else having the same problem? Thanks Quote
irigsoft Posted June 23, 2023 Posted June 23, 2023 6 minutes ago, Stemon63 said: Hi, I have noted that IDE very slow with 20-30 UniDBText component in Delphi 10.3 - 11; If i use only UniDbedit works well, but if I use UniDbText the form is very very slow ad design time when move components. It refresh continuosly. I have forms that display 40-50 DBtexts (invoices, etc..) Anyone else having the same problem? Thanks Hi, I have the same problem but with dynamic component creation. I have 100 different components in one form, Grids, Edit (not DBEdit), Panels, Label, GroupBoxes. Scrollboxes. The time to create all the components is about 1-1.5 seconds, but the visualization of the form itself takes 3-5 seconds. I achieve this speed with the use of Ext.SuspendLayout and ResumeLayout (true) 1 Quote
Stemon63 Posted June 26, 2023 Author Posted June 26, 2023 Hi IrigSoft, NO, I have the problem a DESIGN TIME. It's very slow with Delphi 10.3-11. With 10.2 is faster (normal refresh) Quote
AlbertoVesx Posted June 26, 2023 Posted June 26, 2023 Also it is slower if a pagecontrol is in form Quote
Masteritec Posted June 11, 2024 Posted June 11, 2024 Yup, i also facing this problem in 10.4. Any solution? Quote
Ron Posted June 11, 2024 Posted June 11, 2024 I also had issues with slowness, so in December I upgraded the hardware to a Lenovo Thinkpad P15 Gen2 workstation laptop, with 48Gb RAM and installed the very fast Kingston KC3000 1TB SSD - it has 7Gbps write speed. But still the IDE (10.3.3) was not doing well, with lots of refreshings after switching between the browser and the IDE. I wondered if I had to downgrade to Win10, but I turned off animations and other stuff that was sucking power from the system, and then I did the right thing: I quit using Opera, Chrome, Edge or Firefox, and switched to using Vivaldi browser. Now everything works, no issues whatsoever, no refreshings for seconds (could be up to 4-5 seconds of "serial refreshings" each time I entered the IDE if I had lots of tabs open in Opera, like e.g. 100 tabs). When I now switch between the browser and the IDE using Alt-Tab, it's all rock solid - not a glitch in the form, only a couple refreshings of the top IDE status line. When I click on design objects, there are some refreshings (maybe 2), but they seem to increase (3 or 4) if there is a pagecontrol on the form. Of course there ideally should only be a single refreshing when activating another design-time object, but if they are quickly done I can live with it. Vivaldi is based on Chrome, that's right, but now things work fine, and that's all I need. Another thing I like with the Lenovo P15, is that it is completely silent no matter how hard I push it. No fan noise. Previously I used fast gaming laptops, but for the future I will only use Lenovo workstation laptops. P16 will be the next. 1 Quote
Ron Posted June 15, 2024 Posted June 15, 2024 Well, now I am a bit wiser. It turns out that CPU turbo was disabled on my laptop, probably due to it being run on a smaller power brick than it needs. It bought it used from the US and it came with a 135W adapter, but it needs a 170W adapter which i bought new a while ago. But once the system turned CPU turbo off due to power limitations, it apparently does not turn in back on again if/when there is enough power available. So I had to run ThrottleStop to figure this out, and when I enabled CPU turbo it was a different machine. I also turned on Speedshift EPP. I had to research this closer, as things - after a while - were not going as smooth as I indicated in the previous post, and the refreshing nightbare came back. But now it all works perfectly. Oh, the good ol' days when PCs were a bit simpler to set up and run - those were the days, my friend, those were the days... They will never come back https://www.ultrabookreview.com/31385-the-throttlestop-guide/ Quote
Masteritec Posted April 20 Posted April 20 Hi, any solution for it? @Farshad Mohajeri Delphi 13 64bit also lag when design form with more components. Quote
Administrators Farshad Mohajeri Posted April 20 Administrators Posted April 20 4 hours ago, Masteritec said: Hi, any solution for it? @Farshad Mohajeri Delphi 13 64bit also lag when design form with more components. Hi, Probably it is a Delphi related issue. In design time IDE uniGUI components are just a descendants of VCL controls. Quote
Administrators Farshad Mohajeri Posted April 20 Administrators Posted April 20 6 minutes ago, Farshad Mohajeri said: Hi, Probably it is a Delphi related issue. In design time IDE uniGUI components are just a descendants of VCL controls. BTW, if you send us a sample DFM file which shows this issue we will analyze it. Quote
Masteritec Posted April 20 Posted April 20 1 hour ago, Farshad Mohajeri said: BTW, if you send us a sample DFM file which shows this issue we will analyze it. UniGui Sample.7z Please refer it Quote
Alexandre Trevizoli Posted April 21 Posted April 21 I have the same problem at design time in Delphi 2007. The strange thing is that the issue occurs on my desktop, but not on my laptop. I tried formatting the system, reinstalling Windows, Delphi 2007, and UniGUI again (latest version 1610), and problem still happening, and the problem also happens with all previous versions. Only works on my laptop, I tried to install on another desktop too. My desktop has an Xeon Gold 6230, while my laptop has an AMD Ryzen 7 5700U. On my desktop, opening a form takes much more than 30 seconds, while on the laptop it opens instantly. @Farshad Mohajeri What should I check to see what is making the form freezing? (One cpu stay 100% for more than 30 seconds for each change on form). Could there be something wrong in the DFM file causing this? I tried everything to discover what are making delphi freeze. Thank you if you can help us. I will send a video on next. Quote
Alexandre Trevizoli Posted April 21 Posted April 21 @Farshad Mohajeri check this videos please. Computer 1 - Slowest https://drive.google.com/file/d/1DEk4WR0GH-KAr34XmJ9ZOricakdodPYC/view?usp=sharing Computer 2 - OK https://drive.google.com/file/d/1Ve6B8jG-8ZImzQ2xefkVqyVx8Li8s1Li/view?usp=sharing Quote
Masteritec Posted May 3 Posted May 3 On 4/20/2026 at 10:40 PM, Masteritec said: UniGui Sample.7z 105.64 kB · 2 downloads Please refer it Hi @Farshad Mohajeri, any good news for it? Quote
Freeman35 Posted May 3 Posted May 3 Hello, Just idea, can you try, remove all dataset & Datasource to on new datamodule? another test, remove dbedit's, dbtext's etc. datasource and datafield property Quote
Administrators Farshad Mohajeri Posted Tuesday at 11:52 AM Administrators Posted Tuesday at 11:52 AM On 5/3/2026 at 5:42 AM, Masteritec said: Hi @Farshad Mohajeri, any good news for it? Hi, I have tested your form and yes, it is slow to load and navigate. It is because uniGUI components are hybrid controls. They encapsulate a VCL control for visual purpose. I willl try to implement a solution. Maybe in next build, but definitely in the other build. Thanks 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.