form loading delay

chrisdedobb

Registered User.
Local time
Yesterday, 17:44
Joined
Nov 4, 2004
Messages
16
I have a few forms that take a while to open (not bad but long enough(10-15 secs))

I was wondering if there were a way to display a loading image while the user was waiting for the forms to load.

maybe as an interm-form that has nothing in it but a picture?

I am not sure if this is even possible.

Not really all that sure why the forms have such a delay in openning either.

any help?
 
Your forms are compiling prior to being loaded.

When your program 1st starts up open key forms with the hidden" option, then when needed simply make then visible; when finished with then, or opening another, simply hide them.

I use this technique and have encountered a problem with hidden forms having combo boxes causing an error to generate when quitting the program. To get around this error, I set each of those comboboxes respective recordsource to null on program exit.
 
If you are interested in using an image, you can create a form with the image and then use the OnTimer event to close the form itself.
 
I have tried both of these solutions but it is still not accomplishing what I need. Thanks for the ideas though! :)

I am using a module that hides MS Access entirely so that might be why the first idea did not work.

Is there a way that I can display the form imeadiatley and temporarily lock the fields until the table loads. This way the user can see that the program is running but is is still loading.
 
Yes you can hid or disable the controls, however there are numerous control types, some of which cannot be disabled/endabled. I'd suggest hiding and them displaying them.

dim ctl as control
for each ctl in me
me!ctl.visible=false (or true, as the cae may be)
next
 

Users who are viewing this thread

Back
Top Bottom