Srod that's terrific. It works and now TreeViews seem to behave as I would want them to behave. It's one of those snippets of code that should be saved somewhere on this forum for ready access. Thanks for taking the time to understand the problem and to solve it. Hope all is well
Daffodil
Search found 14 matches
- Wed Dec 21, 2005 9:51 pm
- Forum: Coding Questions
- Topic: help with TreeGadget
- Replies: 28
- Views: 5204
- Fri Dec 16, 2005 9:49 pm
- Forum: Coding Questions
- Topic: help with TreeGadget
- Replies: 28
- Views: 5204
Srod
Wait a sec. You may have it. While the last reply I sent is still true (where the'child' is highlighted), if I highlight the parent node (Item 1) and click "Child" then the child is added as the last child node and that is what I wanted to achieve. Terrific. So in my code (haven't done it yet ...
Wait a sec. You may have it. While the last reply I sent is still true (where the'child' is highlighted), if I highlight the parent node (Item 1) and click "Child" then the child is added as the last child node and that is what I wanted to achieve. Terrific. So in my code (haven't done it yet ...
- Fri Dec 16, 2005 9:42 pm
- Forum: Coding Questions
- Topic: help with TreeGadget
- Replies: 28
- Views: 5204
- Fri Dec 16, 2005 5:57 pm
- Forum: Coding Questions
- Topic: help with TreeGadget
- Replies: 28
- Views: 5204
Thanks Srod. It does help. I have to agree with your assumption so yes, it does seem as though the data required to maintain treeviews in PB and the API's are a bit out of sync here. I guess if I want to proceed using the TreeView in my program I am going to have to learn a bit about these API calls ...
- Thu Dec 15, 2005 10:58 pm
- Forum: Coding Questions
- Topic: help with TreeGadget
- Replies: 28
- Views: 5204
Thanks for reopening this topic because I still haven't found an answer.
My original question was how to add a new row into a child node of a tree that would be at the same level as the child. Using just the PB commands, I can make it work if I am not inserting after the last child in the node. But ...
My original question was how to add a new row into a child node of a tree that would be at the same level as the child. Using just the PB commands, I can make it work if I am not inserting after the last child in the node. But ...
- Tue Nov 15, 2005 10:55 pm
- Forum: Coding Questions
- Topic: help with TreeGadget
- Replies: 28
- Views: 5204
TreeView - adding same level at end of child nodes
Further to my previous question, I found some terrific code on this forum for TreeViews (TVAddItem) which I played with for a while. Doesn't 100% solve my problem. I am trying to solve adding a new row into a TreeView at the tail end of a set of child nodes so that the new row will be at the same ...
- Fri Nov 11, 2005 3:17 am
- Forum: Coding Questions
- Topic: Fill a ListIcon faster than with AddGadgetItem?
- Replies: 9
- Views: 3921
IconListView Loading Time
And to join this debate I am going to ask something that I really don't know anything about so don't laugh but here goes anyway. If you wait the 3 minutes or more it takes to load 50,000 items into the list for the initial time only, is there then a way to save the chunk of memory that holds the ...
- Fri Nov 11, 2005 2:58 am
- Forum: Coding Questions
- Topic: Visual designer file format specs..
- Replies: 19
- Views: 5870
Congrats on the kids
The pictures are great. From one father of triplets to another, how on earth did you get any time at all? Mine are 5 and I am only just starting to get time now to return to the computer. I am almost out of touch with the computing world which is why sequential programming in PB, not OO etc, is such ...
- Fri Nov 11, 2005 1:36 am
- Forum: Coding Questions
- Topic: help with TreeGadget
- Replies: 28
- Views: 5204
TreeView - adding same level at end of child nodes
I know this thread is a little old but the code in it was really really helpful. Although it still leaves one issue that I just can't seem to resolve. When I am trying to add another node to my tree and I want that node to be at the same level as the node I have selected, I can do it with ...
- Wed Aug 17, 2005 2:26 am
- Forum: Coding Questions
- Topic: String Gadget - Read Only
- Replies: 7
- Views: 2748
- Tue Aug 16, 2005 7:32 pm
- Forum: Coding Questions
- Topic: String Gadget - Read Only
- Replies: 7
- Views: 2748
- Tue Aug 16, 2005 2:25 pm
- Forum: Coding Questions
- Topic: String Gadget - Read Only
- Replies: 7
- Views: 2748
- Tue Aug 16, 2005 4:31 am
- Forum: Tricks 'n' Tips
- Topic: Read and Write Binary String
- Replies: 3
- Views: 2445
Binary write and read
Guimauve
This is fantastic. It solves one half of something I have been stuck on for a while now. The other half I am stuck on is similar. Is there any way to adapt it so that instead of saving the contents of a linked list in binary form to a file and restoring, it could save the contents of a tree ...
This is fantastic. It solves one half of something I have been stuck on for a while now. The other half I am stuck on is similar. Is there any way to adapt it so that instead of saving the contents of a linked list in binary form to a file and restoring, it could save the contents of a tree ...
- Mon Aug 15, 2005 10:21 pm
- Forum: Coding Questions
- Topic: String Gadget - Read Only
- Replies: 7
- Views: 2748
String Gadget - Read Only
Forgive this question but how do I make a string gadget read only once it is created. I know it can be created as read only but 'read only' is an attribute I would like to turn off and on as determined by the business logic. I know also that I can disable gadgets but that makes the content invisible ...