How to Make the drop-down list appear faster?
Answer / Vivek Sachan
To make a drop-down list (like a TComboBox) appear faster in Delphi, you can reduce its number of items or use a TStringList with the AutoSizer property set to False. Here is an example:nn```delphinvarn myStrings: TStringList;nbeginn SetLength(myStrings, 1000); // Allocate space for many itemsn myStrings.AutoSizer := False; // Disable auto-sizing to speed up renderingnn With TComboBox.Create(Self) don Assign(Items, myStrings); // Populate the ComboBox with the StringListnend;n```
| Is This Answer Correct ? | 0 Yes | 0 No |
How to Create a Worker Thread for Background Processing ?
Does Delphi support the back-end?
How to Display documents in the default browser?
How to Test whether you are connected to the internet ?
How to close the CD Tray in code?
How to easily move a Window control at runtime?
How to Get a handle on your files ?
what are the Current MSACCESS driver limitations ?
How to retrieve an InterBase Blob in Delphi using SavetoFile?
How to Manually uninstall Delphi?
How to use Access97 drivers with BDE 4.51 ?
what is the Purpose of the interbase Client32 files?