View Single Post
  #10 (permalink)  
Old 06-06-2008, 09:39 PM
Cableguy's Avatar
Cableguy Cableguy is online now
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,463
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

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
Attached Files
File Type: sbp teste.sbp (2.8 KB, 4 views)
__________________
Paulo Gomes
Porto, Portugal

PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD

DLL Version Listing
Reply With Quote