Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FiveWin 1.9.2 - January 97 - <b>class tlinklist</b> managing linked-lists data structures http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Class TLinkList     Managing Linked-Lists data structures
--------------------------------------------------------------------------------

 FiveWin implements a Class TLinkList to manage 'trees'. Trees are a
 visual representation of Linked-Lists data structures. Using a TWBrowse
 object we can visually represent the Link-List structure as a tree
 where each leave is a TTreeItem object.

 Windows 95 implements its own 'Tree' control, but thanks to Class TLinkList
 and Class TTreeItem (and using a TWBrowse object) we may use trees under
 Windows 3.1 and NT 3.51.

 See xBase TREE ... ENDTREE explanation to understand how to create a
 tree object. Once the tree is created, you may visualize it using the
 TWBrowse Method SetTree( oTree ):

    <oBrw>:SetTree( <oTree> )

 DATAs
--------------------------------------------------------------------------------
 oFirst              First item referenced by the LinkList
 oLast               Last item referenced by the LinkList

 METHODs
--------------------------------------------------------------------------------
 Add                 Adds an item to the LinkList
 Draw                Recalculates all drawing lines of the entire tree
 End                 Destroyes the LinkList object
 GetLast             Returns the last item of the LinkList (including subtrees)
 nCount              Total Number of items
 OpenAll             Open all subtrees
 Eval                Evals a codeblock for each TreeItem of the LinkList.


See Also: Trees Class TTreeItem

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson