Re: [Gambas-user] Form refresh problem

2009-04-11 Thread Tomas Eroles i Forner
Grazie mille
It seems it works
I hope add more things and then publish the program for if anyone wants
to add something

Thanks Doriano


El ds 11 de 04 del 2009 a les 09:53 +0200, en/na Doriano Blengino va
escriure:

> 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,
> 
--
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


Re: [Gambas-user] Form refresh problem

2009-04-11 Thread Doriano Blengino
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