[Gambas-user] Problem with TreeView and ColumnView......
Benoit Minisini
gambas at ...2...
Sat Aug 9 23:01:03 CEST 2003
Le Samedi 9 Août 2003 18:31, mephisto75 at ...20... a écrit :
> OK, If got a Problem with the TreeView maybe anyone can explain to me
> what's going on there.
>
> If you have the following Code:
>
> SUB TreeExpand(Objekt AS Object)
> PRINT Objekt.Current.Key
> Objekt.MoveBelow
> PRINT Objekt.Current.Key
> END
>
> Whereas Objekt is a Treeview Object.
>
> Both Print Commands Display the same.
> Seems as if the Interpreter does not even care about the Objekt.MoveBelow
> Even if I write Objekt.MoveTo("Foobar")
> NO action and NO complains even if the key "Foorbar" does not even exist
> in the TreeView Object and I bet this is the same with ColumnViews.........
> Is this the intended behaviour or did I miss something ?
>
> Greeting from Germany
>
>
The Move* methods modify the Item property, not the Current property.
--
Benoit Minisini
mailto:gambas at ...1...
More information about the User
mailing list