Re: Reordering TreeNodes



"Fons" <fonzzzNO@xxxxxxxxxxxxxxxxxxx> wrote in message
news:47e3d162$0$14355$e4fe514c@xxxxxxxxxxxxxxxxx

How can I swap (reorder) nodes in an unsorted TreeView.

TTreeNode.Moveto. There is a help file, you know.

Yes; I already managed; I wrote a procedure using MoveTo.
But I expected just one simple call.

From now on, it is.


[...]
SwapNodes(TreeView.Selected);

It does look odd to swap a single node.


And ... I'd be rich, getting paid for reading the helpfile.

Good! It's what programmers do. (That, and writing code.)

Groetjes,
Maarten Wiltink


.



Relevant Pages

  • Re: Intercepting the WM_HELP message
    ... MessageFilter you can intercept WM_HELP messages. ... Peter Foot has sample ... > the help file for a PPC application. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: [BASH] A little help with echo and variables
    ... On 2004-07-07, amsel wrote: ... > I'm writing a script, i did a little help file, but it's not very cleen as ...
    (comp.unix.shell)
  • Re: QBASIC color numbers
    ... I'm writing a translator from QBASIC to BBC BASIC ... why would you want "QBX" help if you are concerned about ... which help file you need, and also how to turn it into a searchable ...
    (comp.lang.basic.misc)
  • Re: TlistView event
    ... I think I will switch to a custom Tstringgrid which seems better. ... Bernard Ancelle ... "Maarten Wiltink" a écrit dans le message news: ... > the help file. ...
    (comp.lang.pascal.delphi.misc)
  • [BASH] A little help with echo and variables
    ... I'm writing a script, i did a little help file, but it's not very cleen as ... echo -e "\033[1mOPTIONS\033[0m" ...
    (comp.unix.shell)