Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

modules creation

Status
Not open for further replies.

231166

Programmer
Apr 5, 2005
104
FR
Hi,

I have created a treeview.
In this treeview there are terms which are ranged from the most general(roots) to the most specific
For example, at one root level i can find the [blue]'agriculture' [/blue]term, and just below it, the [blue]'intensive agriculture' [/blue]term
which is more specific, and below the 'intensive agriculture' term i can find the [blue]'intensive united states's agriculture' [/blue]term which is again more specific than 'intensive agriculture'term.

My application contains subs to manage this treeview : how to add terms in the treeview, how to update terms, how to add roots,how to associate terms.

[green]I would like to create modules to put the sub of the same kind in each module[/green].

Could you advice me how to arrange the subs of this application to make a clear application?

Thanks a again for all your help.

Best regards.

Nathalie
 
Could you advice me how to arrange the subs of this application to make a clear application?

I'm not sure exactly what you mean by this. You want to put the subs that manage the treeview all in one module?

Have you considered making a custom treeview control that has the subs you mentioned as methods? Because that's what it sounds like you are trying to get at - keeping all of the code that manages the treeview in one place, for ease of maintenance, upgrading, etc. That's one of the main purposes of object-oriented programming.



I used to rock and roll every night and party every day. Then it was every other day. Now I'm lucky if I can find 30 minutes a week in which to get funky. - Homer Simpson

Arrrr, mateys! Ye needs ta be preparin' yerselves fer Talk Like a Pirate Day! Ye has a choice: talk like a pira
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top