![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Questions & Help Needed Post any question regarding Basic4ppc. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
I was so close and yet so far...
I tryied: Node1.Value=TV.SelectedNode Node1.Value=Node2.New Node Wich of course didn't work.... Thanks Erel
__________________
Paulo Gomes Porto, Portugal PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD PPC: Qtek9000, 1GB SD |
|
||||
|
OK, so I got that working bit, now I need to remove all created nodes up to the root, clearing the tree object...
BUT, I do not wich to dispose of the treeview object... I tryied Tree.RemoveAllNodes method, but nothing gets deleted... What am I missing?
__________________
Paulo Gomes Porto, Portugal PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD PPC: Qtek9000, 1GB SD |
|
||||
|
This is a work in progress so some bugs may occur or some part of code be missing..
only the spb file is uploaded... baiscally, when the user shoses "New", I have to check if a file is in use and warn the user about it, if he cooses to continue, the the current treeview, should be cleared of all nodes and be made "Blank".... Since it uses treeview, controlsEx.dll is required,lol...
__________________
Paulo Gomes Porto, Portugal PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD PPC: Qtek9000, 1GB SD |
|
||||
|
Now another issue..
In order to have a context nemu, I was "forced" to add formlib... Figured out how to add a context menu, so far so good... New problems arise... I seem to only need One Node Object to create how many sub-levels I want or need in the treeView...But I NEED to limit the node to 3 Levels... Root,Category and Key asin Parent, son and grandson... How? And how do I delete a selected Node? I tryied removenode, removenodeat with no success... HELP???
__________________
Paulo Gomes Porto, Portugal PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD PPC: Qtek9000, 1GB SD |
|
||||
|
Your example is almost perfect for my aplication, and I understand how the level catching works...
But I still have one issue(for the time being...)... I have 1 Tree Object (tree) and 2 Node Objects(Parent and Node in order to make sense of your example...) The 3 level limitation works great...but what is I wish to limit it to just 2 levels? I tryed to alter your example but I got nowere... Here's my project as is... need both controlsEx and FormLib dlls... My intension is: Tree Root is the INI Filename (setted for now as Default.INI) Key and Comment can exist in any alowed sub level... ie: +Default.INI |--Key01 |--Comment01 +-Category01 XX|-Key02 XX|-Comment02 BUT Category can only be one level deep.. ie: +Default.INI |--Key01 |--Comment01 +-Category01 XX|-Key02 XX|-Comment02 XX|-Category02 - Cannot exist PS: Hopefully this will become a structured INI file creator, wich I believe will help those of us who relly on them for some settings...setting
__________________
Paulo Gomes Porto, Portugal PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD PPC: Qtek9000, 1GB SD |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Another problem with tree view | RandomCoder | Questions & Help Needed | 8 | 02-28-2008 11:36 AM |
| Registry to Tree View | willisgt | Questions & Help Needed | 0 | 02-20-2008 04:17 PM |
| Context Menu and Tree View. | RandomCoder | Questions & Help Needed | 4 | 02-18-2008 04:35 PM |
| Can´t view whole Website with PPC Browser | Smurfy2000 | Forum Discussion | 3 | 02-13-2008 08:08 AM |
| Tree View Images | RandomCoder | Questions & Help Needed | 8 | 02-08-2008 04:16 PM |