Recent

Author Topic: [Solved] Slowness of TOpenDialog in Windows  (Read 2020 times)

bobonwhidbey

  • Hero Member
  • *****
  • Posts: 592
    • Double Dummy Solver - free download
[Solved] Slowness of TOpenDialog in Windows
« on: July 16, 2018, 02:22:35 am »
TOpenDialog takes a few seconds to display in Laz while IIRC it was much faster in Delphi. Is there anyway to speed up this component, or perhaps there is a different component?
« Last Edit: July 16, 2018, 03:03:57 am by bobonwhidbey »
Lazarus 3.0RC2, FPC 3.2.2 x86_64-win64-win32/win64

Josh

  • Hero Member
  • *****
  • Posts: 1274
Re: Slowness of TOpenDialog in Windows
« Reply #1 on: July 16, 2018, 02:28:37 am »
Hi

I find that it takes a few seconds to show whilst run in the IDE,
But when the application exe is run outside of the IDE no such delay is visible.

Is the true in your case?
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9867
  • Debugger - SynEdit - and more
    • wiki
Re: Slowness of TOpenDialog in Windows
« Reply #2 on: July 16, 2018, 02:59:21 am »
This effect is caused by running it under the debugger. Outside the IDE it should be fast.

bobonwhidbey

  • Hero Member
  • *****
  • Posts: 592
    • Double Dummy Solver - free download
Re: Slowness of TOpenDialog in Windows
« Reply #3 on: July 16, 2018, 03:03:22 am »
 ;)  Yes -  MUCH faster without the IDE. Thank you
Lazarus 3.0RC2, FPC 3.2.2 x86_64-win64-win32/win64

 

TinyPortal © 2005-2018