Click here to Skip to main content
15,894,180 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Recursive Function Pin
William Winner7-Apr-10 8:18
William Winner7-Apr-10 8:18 
QuestionGet the parent objet or parent level in nested lists Pin
norrisMiou4-Apr-10 0:51
norrisMiou4-Apr-10 0:51 
AnswerRe: Get the parent objet or parent level in nested lists Pin
DaveAuld4-Apr-10 2:28
professionalDaveAuld4-Apr-10 2:28 
GeneralRe: Get the parent objet or parent level in nested lists Pin
norrisMiou4-Apr-10 2:56
norrisMiou4-Apr-10 2:56 
GeneralRe: Get the parent objet or parent level in nested lists Pin
DaveAuld4-Apr-10 5:36
professionalDaveAuld4-Apr-10 5:36 
AnswerRe: Get the parent objet or parent level in nested lists Pin
Alan N4-Apr-10 6:04
Alan N4-Apr-10 6:04 
GeneralRe: Get the parent objet or parent level in nested lists Pin
norrisMiou5-Apr-10 7:26
norrisMiou5-Apr-10 7:26 
GeneralRe: Get the parent objet or parent level in nested lists Pin
Alan N5-Apr-10 13:19
Alan N5-Apr-10 13:19 
Hi,
Yes, I understood that you would be implementing your own version of the parent property which is different from the Control.Parent property and I think I see what the problem is. You are able to travel down through the tree via the node collections but from your description I would guess that there are no upward links in place. That is, if you pick any node in your tree you could go down to find it's children but not up to it's parent.

To be able to go both up and down each node must contain two links
CLASS Node
  NodeCollection children
  NodeCollection parent

and importantly the NodeCollection must contain a link to it's parent node
CLASS NodeCollection
  Node parent


The overall data structure is an example of a Doubly Linked List, complicated by the fact that the elements of the list are alternating Nodes and NodeCollections.

Alan.
GeneralRe: Get the parent objet or parent level in nested lists Pin
norrisMiou5-Apr-10 15:29
norrisMiou5-Apr-10 15:29 
QuestionLinking Databases to VB Applications Pin
Razanust3-Apr-10 19:36
Razanust3-Apr-10 19:36 
AnswerRe: Linking Databases to VB Applications Pin
riced3-Apr-10 23:59
riced3-Apr-10 23:59 
AnswerRe: Linking Databases to VB Applications Pin
εїзεїзεїз4-Apr-10 0:19
εїзεїзεїз4-Apr-10 0:19 
GeneralRe: Linking Databases to VB Applications Pin
Razanust4-Apr-10 4:40
Razanust4-Apr-10 4:40 
GeneralRe: Linking Databases to VB Applications Pin
riced4-Apr-10 4:57
riced4-Apr-10 4:57 
AnswerRe: Linking Databases to VB Applications Pin
Luc Pattyn4-Apr-10 5:09
sitebuilderLuc Pattyn4-Apr-10 5:09 
AnswerRe: Linking Databases to VB Applications Pin
Luc Pattyn4-Apr-10 5:13
sitebuilderLuc Pattyn4-Apr-10 5:13 
GeneralRe: Linking Databases to VB Applications Pin
Razanust4-Apr-10 8:15
Razanust4-Apr-10 8:15 
QuestionProblem with unrar.dll and decompressor-class Pin
Maik Lange2-Apr-10 19:38
Maik Lange2-Apr-10 19:38 
AnswerRe: Problem with unrar.dll and decompressor-class Pin
Dave Kreskowiak3-Apr-10 3:02
mveDave Kreskowiak3-Apr-10 3:02 
AnswerRe: Problem with unrar.dll and decompressor-class Pin
Luc Pattyn3-Apr-10 4:59
sitebuilderLuc Pattyn3-Apr-10 4:59 
QuestionVB6 Extend maximum height of PictureBox Pin
Bob Hiller2-Apr-10 16:14
Bob Hiller2-Apr-10 16:14 
AnswerRe: VB6 Extend maximum height of PictureBox Pin
Dave Kreskowiak3-Apr-10 3:01
mveDave Kreskowiak3-Apr-10 3:01 
GeneralRe: VB6 Extend maximum height of PictureBox Pin
Luc Pattyn3-Apr-10 5:01
sitebuilderLuc Pattyn3-Apr-10 5:01 
GeneralRe: VB6 Extend maximum height of PictureBox Pin
Bob Hiller3-Apr-10 5:31
Bob Hiller3-Apr-10 5:31 
GeneralRe: VB6 Extend maximum height of PictureBox Pin
Dave Kreskowiak3-Apr-10 5:52
mveDave Kreskowiak3-Apr-10 5:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.