|
-
Nov 18th, 2021, 09:09 PM
#1
Thread Starter
Fanatic Member
How do I add combobox items more quickly?
Hello!
I need to fill a combobox with 400 items.
I use
Me.cboTest.AddItem sSomeString
Adding a single item takes 1 ms.
So filling the combobox with 400 items takes 400 ms.
This is a drastic delay as the form that shows this combobox appears with a delay of 400 ms.
Is there perhaps an API call to populate a combobox more quickly?
Or can I prevent it from redrawing? I have tried .Enabled = false and .Locked = true, but that wouldn't change anything.
Thank you!
Last edited by tmighty2; Nov 18th, 2021 at 09:16 PM.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|