Lemon Posted March 3, 2004 Posted March 3, 2004 Hi, How can i use a loaderbar while my program is reading a query from a database, or while inserting query's, or while doing a number of actions? Or while a listbox is filling itself enc. Quote
wildfire1982 Posted March 3, 2004 Posted March 3, 2004 The best ways of doing this are specific to what is happening but in general, you need a progress bar and a way of calculating how far through a process, the program is. For example... say you were going to load a large file, you could get the number of lines or something, devide 100 by that number, and then for each line or whatever add the result to the value of the progress bar. That sounded a bit heavy didnt it!? any problems, reply and i will try to explain myself a little better. Quote Chris
Lemon Posted March 3, 2004 Author Posted March 3, 2004 Yes i understand you. So i need to create like bookmarks in my code? but then is the loader jumping i think. For example, i do like 4 query's, filling an array enc en doing some calculations, then i need to put in that code bookmarks that update the loader? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.