[Fxruby-users] tree list navigation
Status: Inactive
Brought to you by:
lyle
From: Hal F. <ha...@hy...> - 2004-07-06 11:43:17
|
I'm thinking of using a couple of function keys to move items up/down in a tree list. This seems an order of magnitude easier to me than drag/drop. Am I wrong? Easier to code, not to use, I mean. So anyway: It would be nice if there were some concept of "next" and "previous" that was independent of the actual tree structure, but dependent on the current collapsed/expanded state of the tree. For example: Suppose I have a new entry NEW, and I have F8 mapped to a "move down" command. Here I'm representing collapsed and expanded nodes by + and - respectively. Use a monospaced font to look at this. :) Given this tree: - NEW + Stooges + Dwarves + Fates + Muses Suppose I select NEW and press F8 three times -- I'd expect this as a result: + Stooges + Dwarves + Fates - NEW + Muses On the other hand, suppose I start with this tree: - NEW - Stooges - Larry - Curly - Moe + Dwarves + Fates + Muses and again select NEW and press F8 three times. I'd then expect: - Stooges - Larry - Curly - NEW - Moe + Dwarves + Fates + Muses In other words, traverse the tree "as is" -- is this doable?? Obviously I'd like to be able to move not just single items but entire subtrees. Thanks for any insight... Hal |