GoIconicNode Remove not working

Hi,

I am inherting GoIconicNode in my application.

I am using Overiding Remove function like below.

    Public Overloads Overrides Function Remove(ByVal obj As GoObject) As Boolean
        Dim result As Boolean = MyBase.Remove(obj)
        'My custom code goes here
    <span style="color:blue;">Return</span> result
<span style="color:blue;">End</span> <span style="color:blue;">Function</span></pre><pre style="font-family: 'Courier New'; font-size: 13px; -: initial; -attachment: initial; -origin: initial; -clip: initial; : white; -: initial initial; -repeat: initial initial; "><span style="color:blue;">When user press delete i am overriding View_SelectionDelete function.</span></pre><pre style="font-family: 'Courier New'; font-size: 13px; -: initial; -attachment: initial; -origin: initial; -clip: initial; : white; -: initial initial; -repeat: initial initial; "><font color="#0000ff">But what ever i try in object my code never goes into Remove function.</font></pre><pre style="font-family: 'Courier New'; font-size: 13px; -: initial; -attachment: initial; -origin: initial; -clip: initial; : white; -: initial initial; -repeat: initial initial; "><font color="#0000ff">Can give some ideas how can achieve this.</font></pre><pre style="font-family: 'Courier New'; font-size: 13px; -: initial; -attachment: initial; -origin: initial; -clip: initial; : white; -: initial initial; -repeat: initial initial; "><span style="color:blue;">

see
http://www.nwoods.com/components/dotnet/docs/GoWin4.1.0/webframe.html

Remove(obj) is for removing a child object from a GoGroup or GoNode. Not an event that gets called when the node is removed.

I think what you want… you’ll figure out if you search the samples (or this forum) for GoLayer.RemovedObject.