[Gambas-user] Endless DATA event in Table

Benoît Minisini gambas at ...1...
Thu Oct 15 18:11:06 CEST 2015


Le 15/10/2015 17:51, Rolf-Werner Eilert a écrit :
> In my project there is a TabView with 4 tabs, on two of them there is a
> TableView. And there is a TreeView with names.
>
> When I choose a name, and the first Tab is open, the Table there is
> filled with data, and there it stops and waits. So the DATA event runs
> through only once after it was triggered by setting Rows.Count.
>
> When I click on the other Tab with the other Table, it keeps filling and
> filling and filling, so the program is slowed down. But Rows.Count is
> set only once there, too. And there is nothing within the Data event
> loop which could set it again while filling.
>
> As soon as I click on another Tab, it stops filling that Table. Same
> when I click on some root entry in the TreeView which empties the
> Tables. So when GUI moves the focus away from that Table, it stops as
> expected.
>
> My problem is, I cannot find any reason for that specific TableView to
> be triggered over and over again. Does anyone here have had such a case
> and could me point where to start looking?
>
> Thanks for any hints!
>
> Rolf
>

Can you provide a project?

-- 
Benoît Minisini




More information about the User mailing list