-
Jan 25th, 2021, 08:13 PM
#1
Thread Starter
Frenzied Member
is there a faster way to dynamically LOAD an object?
Is there a faster way, perhaps via API to load a dynamic control via the load/unload routines ?
I'm currently doing quite a bit of unload all controls and then re-build(load) then again and again and it's resulting in a slight performance hit.
_____________________________________________________________________
----If this post has helped you. Please take time to Rate it.
----If you've solved your problem, then please mark it as RESOLVED from Thread Tools.

-
Jan 25th, 2021, 10:00 PM
#2
Re: is there a faster way to dynamically LOAD an object?
try to change visibility to false when doing the load/unload
-
Jan 27th, 2021, 08:48 AM
#3
Lively Member
Re: is there a faster way to dynamically LOAD an object?
 Originally Posted by baka
try to change visibility to false when doing the load/unload
..... or just set the Form height to zero.
-
Jan 27th, 2021, 08:52 AM
#4
Re: is there a faster way to dynamically LOAD an object?
I'm currently doing quite a bit of unload all controls and then re-build(load) then again and again and it's resulting in a slight performance hit.
Can you explain why you need to unload and reload controls again?
Why not just reuse the ones you need?
If you start with 10 textboxes and later you need 6, then just set the visibility to False.
Later if you need 14 textboxes then you already have 10 and just have to load 4 additional textboxes.
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
|