On dimanche 26 octobre 2008, Leo Sendra wrote:
> On jeudi 16 octobre 2008, Leo Sendra wrote:
> >> Hello all, I have a problem in clearing all tableview contents.
> >>
> > >I have already use clear method, like this: tableview1.clear
> > >But, not all rows in tableview1 are cleared.
> > >Just a few of them are cleared.
> > >How to empty a tableview??
> >
> >Do you use the Data event to fill the data?
> >
> >--
> >Benoit Minisini
>
> Yes... I use data event to fill the data. So, how do I clear my
> tableview????
>
> Thanks..
>

The Clear() method only clears cells that were explicitely set. Cells fills by 
the Data event must be clear by not setting cell data in the Data event.

Regards,

-- 
Benoit Minisini

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to