[Gambas-user] ColumnView Question Node Delete method

Benoit Minisini gambas at ...1...
Fri Apr 2 00:06:38 CEST 2004


On Thursday 01 April 2004 19:55, ron wrote:
> Hi Benoit
>
> When I select a node point in the ColumnView and want that
> node and children are Deleted do I have to Delete first all
> child nodes before do the node delete or is it automatic done?

It is automatically done.

> Had somewhere, not gambas, once a problem with this.
> Populair Java applet not freeing memory in IE, the default crashes.
>
> I do now this way
> 	ColumnView.MoveTo(key)
> 	ColumnView.Item.Delete

You can do this way.

> or may I use instead ?
> 	ColumnView[key].Delete

You can do this way too - The two codes do exactly the same thing internally!

>
> It looks is goes OK but I want to be shure.

sure ?

>
> Ron
>
>

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list