[Q] Updating connections

Ned Konz ned at bike-nomad.com
Thu Feb 5 07:40:58 UTC 2004


Norberto Manzanos wrote:

> Hi.
> I'm trying to update the label of connectors attached to a morph when it change.
> I capture the #connectedToBy:  and send the new value to the label.
> When doing manually, everything's fine.
> When doing programatically, there's a problem. I think the values of the constraints of the connectors are updated AFTER #connectedToBy: is trigered so the morph receive the old values of the constraint.
> Do you think this is a bug of connector's package? Or there's other way I can't see?

It probably is a bug, but I don't have the source for the old stuff with
me right now (I'm in Japan and have no Internet connection as I write this).

I will be coming out with Connectors v2 soon which will not have this
problem. I promise <g>.

Ned





More information about the Squeak-dev mailing list