Results 1 to 3 of 3

Thread: long load of form

  1. #1

    Thread Starter
    Hyperactive Member pgag45's Avatar
    Join Date
    Mar 2007
    Location
    Colorado
    Posts
    262

    long load of form

    Hey there,

    I have a form, which I am using as an output, which contains about 180 labels, and 90 images. The visible property of each image is initially False, and depending on the output I change the visible property of 15 of those images to True. This works all fine, besides the fact, that it literally takes about 1.5 minutes to literally open this form. Do I have too many objects in this form? Or is there a possible work around?

    Thanks!

  2. #2
    Don't Panic! Ecniv's Avatar
    Join Date
    Nov 2000
    Location
    Amsterdam...
    Posts
    5,343

    Re: long load of form

    Thats a lot of controls. Its probably the images taking the time to load in before allowing the form to show.

    If it is a vba/vb form you might be able to use an image control but set to a blank/small pictures then after loading, change the location of the pic tp the one you want to show. Sounds like either way it will take time.

    Why would you need 207 controls on a form?
    What does it do?
    What other options are available for you to display differently?

    BOFH Now, BOFH Past, Information on duplicates

    Feeling like a fly on the inside of a closed window (Thunk!)
    If I post a lot, it is because I am bored at work! ;D Or stuck...
    * Anything I post can be only my opinion. Advice etc is up to you to persue...

  3. #3
    Lively Member tarius222000's Avatar
    Join Date
    Jul 2005
    Location
    Jacksonville, FL
    Posts
    80

    Re: long load of form

    why not let the images be in the same folder and have the program load them when needed instead of having them all active. That will use less memory and will speed things up for the most part.

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