That's exactly what I've just tried. Works ok. Be interesting to see if anybody comes up with a solution.
>Nigel,
>
>I don't know how to convince the treeview that it's a string, but the way I've worked around it is to append an underscore to all my treeview node keys. Getting the key value back (if it's an integer prim key as mine are) is simple - int(val(lcKey)) does the trick.
>
>Cheers,
>
>Andrew