Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Treeview as User Interface

Status
Not open for further replies.

davidbeach

Electrical
Mar 13, 2003
9,518
I (try to) manage an excel spreadsheet based set of calculations for setting our transmission line relays. As the criteria become more complex to address a variety of field conditions and the number of relays supported increase, it is becoming increasingly clear that I've pushed excel beyond what works well. Too much interaction between all the different parts.

What I'd like to do is start over again in VB (2010 Express), but the user interface has me stumped. I've done a fair amount of behind the scenes programming in VBA over the years, so once I understand the mechanics of the user interface I think I could go on from there.

What I'd like, if anyone has one to share, is a example of a user interface that uses the treeview control to pages shown to the user.

A really simplified example would be a treeview control that starts out with one line, and a page that lets the user decide if they want to enter phase distance settings and/or ground distance settings. When either or both are selected they are added to the tree and new pages become available to entering those settings.

Once I understand how to add and subtract items from the tree and how to turn the selection of an item in the treeview into page, I can run with it from there.

Any assistance will be greatly appreciated.
 
Replies continue below

Recommended for you

You might want to visit Tek-Tips, a sister to this site where the computer geeks live and hang out..
 
Yeah, looks like its going to come to that.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor