Tomas Eroles i Forner ha scritto: > Hi all > > I'm writing a program to present the results of the ping command in a > TableView. > The user can select the amount of times the program has to repeat the > process. > The program executes a While..Wend loop in which executes the ping > command, analyzes the result, and inserts a row in the TableView. > The problem is that I want that it writes each line before execute the > next ping, and it presents the information when it finishes all the > loops, if it's made using GTK, but it seems to refresh if made using Qt. > I've added the Requery method, both for TableView and for all the form, > but I would like it shows the real progress and the real adding rows > each loop, and not like this. > > Is there any way to do it? > It seems you only need to add a WAIT instruction inside the loop, just after finished to update the table.
Regards, -- Doriano Blengino "Listen twice before you speak. This is why we have two ears, but only one mouth." ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user