<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    Never mind, I guess i found the methods I was looking for:<br>
    enterConnected<br>
    exitDraggingEnd <br>
    <br>
    bye<br>
    Nicola<br>
    <br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 7/13/19 7:03 PM, Nicola Mingotti
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:24a72864-1b0d-b25d-a85b-bba13311824e@gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <font face="DejaVu Sans Mono">Hi, <br>
        <br>
        I am using package Connectors.<br>
        <br>
        I made my own connectors subclassing NCAAConnectorMorph [say it
        is called MyCon]  <br>
        <br>
        Now, I would like the aMyCon to change its color to black when
        it is connected to other 2 morphs and be orange when it is not
        fully connected. <br>
        <br>
        I saw there is NCAAEventsHandler with stateConnected and
        stateDisconnected but I don't understand how i can use these two
        events. <br>
        <br>
        I tried defining inside the class MyCon methods like these,
        copying what I do for mouse events:<br>
        ------------<br>
        handlesStateConnected: evt <br>
          ^ true<br>
        <br>
        stateConnected: evt<br>
            self color: Color black<br>
        ------------<br>
        <br>
        It does not work.<br>
        <br>
        How should I do ? I don't find an example. </font><br>
      <font face="DejaVu Sans Mono"><font face="DejaVu Sans Mono"><br>
          Are NCAAEventsHandler</font> events recognized by
        NCAAConnectorMorph ? <br>
        <br>
        I would like my event handler to add up to what the default
        event handler does, not substituting it.<br>
        <br>
        bye<br>
        Nicola<br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
      </font> </blockquote>
    <br>
  </body>
</html>