[Gambas-user] Form refresh problem

Doriano Blengino doriano.blengino at ...1909...
Sat Apr 11 09:53:10 CEST 2009


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."





More information about the User mailing list