Thanks Bonnie,
>AFAIK, there are no events for Nodes ... the only event you can use is the AfterSelect ... and yes, use a switch statement.
Can i embedded a sting property on the node, like the tag property and then macro execuete that code???
Something like i did in FoxPro, the TAG feild held a object reference and then all i did was execute the tag code.
--> Shawn
>
>~~Bonnie
>
>
>
>>Thanks Bonnie,
>>
>>But what i want to do is bind the node to an event at the time of creation of the node.
>>
>>In your idea i would have to do a switch statement right?
>>
>>--> Shawn
>>
>>
>>>Shawn,
>>>
>>>In the AfterSelect EventHandler for the TreeView, you can determine which TreeNode was selected and process accordingly.
>>>
>>>~~Bonnie
>>>
>>>