Search found 20 matches: subtree

Return to advanced search

Problem with two xbrowse tree - possible bug in dblclick ?

... oItem PROMPT aDrives[ n ] oItem:Cargo := { aDrives[ n ], 0, CtoD( '' ), Space( 8 ), 'D', ; aDrives[ n ] } oItem:bAction := { |o| o:SetTree( SubTree( o ) ), o:bACtion := nil } next ENDTREE return oTree //----------------------------------------------------------------------------// static ...
by Marco Turco
Sun Jun 01, 2014 2:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with two xbrowse tree - possible bug in dblclick ?
Replies: 2
Views: 833

cGetFile replacement

... oItem PROMPT aDrives[ n ] oItem:Cargo := { aDrives[ n ], 0, CtoD( '' ), Space( 8 ), 'D', ; aDrives[ n ] } oItem:bAction := { |o| o:SetTree( SubTree( o ) ), o:bACtion := nil } next ENDTREE return oTree //----------------------------------------------------------------------------// static ...
by Marco Turco
Thu Feb 27, 2014 3:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: cGetFile replacement
Replies: 2
Views: 770

Re: Click on Xbrowse with oTree menu

Double Click toggles open/close of subtree
This is automatically set by xbrwose when we browse a tree
by nageswaragunupudi
Sun Sep 15, 2013 7:46 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Click on Xbrowse with oTree menu
Replies: 1
Views: 491

Drag & Drop from Treeview

Hi to All,

Does any body know how to drag & drop from a treview object to another treeview object?
I need to copy subtree from one treeview object to other treview object, using drag & drop function.


Any Idea or hint, would be appreciate.

Regards,

Hebert Vargas
by hebert_j_vargas
Sat May 11, 2013 8:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Drag & Drop from Treeview
Replies: 0
Views: 264

Re: Cargar Treeview desde un archivo jerarquizado

... el modelo de lista adyacente (Adjacency List Model) en MYSQL, cuando hago la consulta o QUERY, obtengo la estructura en el formato (nombre, nivel-subtree). Amigo Daniel voy a probar lo que tu enviastes
by hebert_j_vargas
Fri Feb 08, 2013 2:07 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cargar Treeview desde un archivo jerarquizado
Replies: 11
Views: 1974

Re: xBrowse Table records with a subtree

Otto /Everyone;

hummm, I'm afraid I haven't done a good job at exposing how a tree on an xbrowse works. Surely no one on the forum is getting what I've been trying to explain. I will try to do better on a new thread.

Thank you very much


Reinaldo.
by reinaldocrespo
Sun Dec 16, 2012 10:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Table records with a subtree
Replies: 9
Views: 2183

Re: xBrowse Table records with a subtree

... “ShowonTree” . When browsing you show only these fields with true. Then on click you search for the releted products what you call in you post subtree open the database again and set “ShowonTree” to true. The refresh() method of xBrowse does the rest. With :oDataFont := { || } :aCols[ 1 ]:bIndent ...
by Otto
Sun Dec 16, 2012 9:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Table records with a subtree
Replies: 9
Views: 2183

Re: xBrowse Table records with a subtree

Sure. Here is a screen shot. http://ssfl.dynalias.com/temp_files/remittances_screen_shot.png I thought it would be easier to see and appreciate; ---have a large master table on an xbrowse, at some keyboard or mouse action, let the detailed child transactions open-up and show just und...
by reinaldocrespo
Sun Dec 16, 2012 12:00 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Table records with a subtree
Replies: 9
Views: 2183

Re: xBrowse Table records with a subtree

Reinaldo,
look at the right xBrowse in RAO notes.
Here I use
:bIndent := { ||20 + ( ::cAlias )->TREELEVEL * 20 } .
With this it is easy to reach what you want.
:bIndent block and original xBrowse is much more flexible .
Please post a screen to demonstrate what exactly you want.
Best regards,
by Otto
Sat Dec 15, 2012 9:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Table records with a subtree
Replies: 9
Views: 2183

Re: xBrowse Table records with a subtree

Otto; Hi. Instead of having two xbrowses, like in your picture, imagine that the info on the 2nd xbrowse shows only if you right click on the parent xbrowse line, and that the detail info shows on indented rows right underneath the parent row on the same xbrowse. Just like a tree on a single xbrowse...
by reinaldocrespo
Sat Dec 15, 2012 8:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Table records with a subtree
Replies: 9
Views: 2183

Re: xBrowse Table records with a subtree

Reinaldo,
is it something like this you want:
I use here 2 xBrowse.
Best regards,
Otto

Image


Image


Image
by Otto
Sat Dec 15, 2012 7:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Table records with a subtree
Replies: 9
Views: 2183

Re: xBrowse Table records with a subtree

... /All; Thank you for participating on this thread. The sample you make reference to, as well as any other I've seen so far, pre-builds the tree and subtree in memory. That, surely, will not work when you need to xbrowse a table with millions of records. Imagine, for example, that you have an xbrowse ...
by reinaldocrespo
Sat Dec 15, 2012 5:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Table records with a subtree
Replies: 9
Views: 2183

Re: xBrowse Table records with a subtree

Reinaldo,
See if \FWH\SAMPLES\XBRWDISK.PRG can help.
Regards, Euclides
by Euclides
Sat Dec 15, 2012 4:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Table records with a subtree
Replies: 9
Views: 2183

Re: xBrowse Table records with a subtree

No ideas or is it a bad question?

Reinaldo.
by reinaldocrespo
Sat Dec 15, 2012 2:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Table records with a subtree
Replies: 9
Views: 2183

xBrowse Table records with a subtree

Hi everyone; I'm interested on xbrowsing a table and then possibly show a subtree under each record. I should avoid reading the whole table into tree branches as the table may contain hundreds of thousands (if not millions) of records. The idea is to respond ...
by reinaldocrespo
Thu Dec 13, 2012 6:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Table records with a subtree
Replies: 9
Views: 2183
Next

Return to advanced search