>>In texbox2
>
>>linkcontrol = thisform.textbox1
>>linktop = 0
>>linkleft = 5
>
>>I am looking for a function to handle in this way.
>
>Doing on the fly...
>
>texbox2.Init
>
>DODEFAULT() - Well I always use in this way
>this.top = EVALUATE(this.linkcontrol).top + EVALUATE(this.linkcontrol).linktop
>this.left = EVALUATE(this.linkcontrol).left + EVALUATE(this.linkcontrol).width + EVALUATE(this.linkcontrol).linktop
>
>I'm a bit losed in the EVALUATES, I think in this way shouldn't work. How must be?
You're on the right track. Just leave the EVALUATE() off of the LinkTop and LinkLeft properties since they belong to your current object. Be aware that this now makes you're object instanciation order significant now.