Treeview and Textboxes : Interface problems

  • Thread starter Thread starter Ravi
  • Start date Start date
R

Ravi

Hi all.

Help needed Regarding vb.net.

I have the User Interface of my application, Which has a treeview on
the left and a set of panels on the right(which have textboxes).
When Ever i Click a node on the treeview the corresponding panel
appears in the right. with the respective details.
When I add new nodes in the treeview using MenuItems in the fileMenu
on the top, a new node is created and then I get empty-fields on the
right panels, where I fill in the details abt the node.

How can I save these details in memory, WITHOUT using a save button ?
Its like say I create a new node and give it a name and other details,
I will probably need to use triggering of certain events to make the
inference that I have to save that node and its details in the memory.
At the End when I quit the application, I get a prompt if I want to
save the changes to the config file.

Do you have any suggestions for me.

I tried out a bunch of stuff using the events and event handlers but
all i could achieve is saving the Nth node when i add (N+1)th node to
the treeview.

Any suggestion would be appreciated.

Thanks very much
Ravi
 
instaid of a save button you can use the leave method of the txt's (code
would be the same as in a save button)
 
Back
Top