Discussion:
Problem with Treeview
(too old to reply)
Gutless Umbrella Carrying Sissy
2012-03-09 21:05:09 UTC
Permalink
Not much experience with Treeview control, so this is probably a
stupid question.

I have a treeview control. I figured out how to load entries from it
from a database in the order I want. I figured out how to move stuff
around on it - change the order. But I cannot figure out how to
determine the new order so that I can save it back to the database
for the next time. Anybody know?
--
Terry Austin

"Terry Austin: like the polio vaccine, only with more asshole."
-- David Bilek

Jesus forgives sinners, not criminals.
Deanna Earley
2012-03-12 09:34:11 UTC
Permalink
Post by Gutless Umbrella Carrying Sissy
Not much experience with Treeview control, so this is probably a
stupid question.
I have a treeview control. I figured out how to load entries from it
from a database in the order I want. I figured out how to move stuff
around on it - change the order. But I cannot figure out how to
determine the new order so that I can save it back to the database
for the next time. Anybody know?
Can't you keep track of the order when changing the order?
Especially seeing as moving requires a delete and readd...

You can also use the .Next methods to walkt he tree.
--
Deanna Earley (***@icode.co.uk)
i-Catcher Development Team
http://www.icode.co.uk/icatcher/

iCode Systems

(Replies direct to my email address will be ignored.
Please reply to the group.)
Gutless Umbrella Carrying Sissy
2012-03-12 16:49:27 UTC
Permalink
Post by Deanna Earley
Post by Gutless Umbrella Carrying Sissy
Not much experience with Treeview control, so this is probably
a stupid question.
I have a treeview control. I figured out how to load entries
from it from a database in the order I want. I figured out how
to move stuff around on it - change the order. But I cannot
figure out how to determine the new order so that I can save it
back to the database for the next time. Anybody know?
Can't you keep track of the order when changing the order?
Especially seeing as moving requires a delete and readd...
You can also use the .Next methods to walkt he tree.
It's a few extra steps over what I had hoped to do, and I'm still
pretty hazy on Treeview stuff in general, but I guess I'm going to
have to.
--
Terry Austin

"Terry Austin: like the polio vaccine, only with more asshole."
-- David Bilek

Jesus forgives sinners, not criminals.
Coder X
2012-07-07 05:26:01 UTC
Permalink
Post by Gutless Umbrella Carrying Sissy
Not much experience with Treeview control, so this is probably a
stupid question.
I have a treeview control. I figured out how to load entries from it
from a database in the order I want. I figured out how to move stuff
around on it - change the order. But I cannot figure out how to
determine the new order so that I can save it back to the database
for the next time. Anybody know?
Yes, I do.
Theo Tress
2012-07-07 10:14:23 UTC
Permalink
Post by Coder X
Yes, I do.
Aah, you too?
Gutless Umbrella Carrying Sissy
2012-07-09 16:26:31 UTC
Permalink
Post by Coder X
Post by Gutless Umbrella Carrying Sissy
Not much experience with Treeview control, so this is probably
a stupid question.
I have a treeview control. I figured out how to load entries
from it from a database in the order I want. I figured out how
to move stuff around on it - change the order. But I cannot
figure out how to determine the new order so that I can save it
back to the database for the next time. Anybody know?
Yes, I do.
S'Okay. I figured out a better way to do it than playing games with
childish idiots.
--
Terry Austin

"Terry Austin: like the polio vaccine, only with more asshole."
-- David Bilek

Jesus forgives sinners, not criminals.
Loading...