Results 1 to 4 of 4

Thread: is there a faster way to dynamically LOAD an object?

  1. #1

    Thread Starter
    Frenzied Member some1uk03's Avatar
    Join Date
    Jun 2006
    Location
    London, UK
    Posts
    1,549

    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.



  2. #2
    Frenzied Member
    Join Date
    Dec 2014
    Posts
    1,365

    Re: is there a faster way to dynamically LOAD an object?

    try to change visibility to false when doing the load/unload

  3. #3
    Lively Member
    Join Date
    Jun 2016
    Posts
    90

    Re: is there a faster way to dynamically LOAD an object?

    Quote Originally Posted by baka View Post
    try to change visibility to false when doing the load/unload
    ..... or just set the Form height to zero.

  4. #4
    PowerPoster Arnoutdv's Avatar
    Join Date
    Oct 2013
    Posts
    4,165

    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
  •  



Click Here to Expand Forum to Full Width