Re: [Gambas-user] Columnview "collapse" function

2016-11-13 Thread adamn...@gmail.com
On Thu, 10 Nov 2016 13:59:11 +0100 Gianluigi wrote: > I probably did not understand the problem, but: > This discussion could help? [0] > or perhaps starting with: > tvwDoc.MoveFirst > hNode = $hDoc.Index[tvwDoc.Key] > iLevel = hNode.Level > > Regards > Gianluigi > >

Re: [Gambas-user] Columnview "collapse" function

2016-11-10 Thread Gianluigi
I probably did not understand the problem, but: This discussion could help? [0] or perhaps starting with: tvwDoc.MoveFirst hNode = $hDoc.Index[tvwDoc.Key] iLevel = hNode.Level Regards Gianluigi [0] http://gambas.8142.n7.nabble.com/Accessing-the-Treeview-Collection-td20313.html#a20317

Re: [Gambas-user] Columnview "collapse" function

2016-11-10 Thread Fabien Bodard
well have you a small functional things ? certainly something stupid but i can't see it without touching 2016-11-10 4:38 GMT+01:00 adamn...@gmail.com : > What in the name of American erections am I doing wrong here? > > Public Sub mnuCollapse_Click() > > ' Collapse all

[Gambas-user] Columnview "collapse" function

2016-11-09 Thread adamn...@gmail.com
What in the name of American erections am I doing wrong here? Public Sub mnuCollapse_Click() ' Collapse all nodes to the level of the selected node Dim hNode As CNode Dim hAttr As String Dim iLevel As Integer hNode = $hDoc.Index[tvwDoc.Key] iLevel = hNode.Level START_HERE: