This performance issue is similar to one I had with with a CustomEdit control embedded in a TwwDBGrid that I posted here some weeks back (regarding a migration from Delphi 5 with InfoPower 3K to Delphi 10, InfoPower 4K); but the lookup combo isn't embedded in a grid, just displayed regularly as part of the form it's in.
When I click on the drop-down, the dreaded spinning circle appears, and the machine chokes - for maybe five minutes at a minimum - with the CPU usage spiking substantially. The drop-down eventually appears, but I don't think the user would want to touch the lookup again.
I did a certain amount of trace-through of the code, and it seems to pass kidney stones when the LookupTable dataset gets opened. Beyond that I'm not sure what the snare is. As with the previous problem I reported, the corresponding code in the Delphi 5 version manifests no such performance issue. Any reports of this sort of behavior? Not including my previous post, that is?
Please sign in to leave a comment.