Hmm, let's assume some pseudo baseclass code for the forms move method:
LPARAMETERS nLeft, nTop, nWidth, nHeight
this.left = nLeft
this.top = nTop
this.width = nWidth
this.height = nHeight
That's a simplification. Not only because there is no error when parameters are missing...
But if you call that from the context of a command button, why shouldn't it affect the command button's left,top,width,height instead of the form?
The question is, why is it possible to call the base method of a class (in this case "form") not belonging to the superclasses of the class calling (in this case the "commandbutton")? There seems to be an invisible inheritance between "commandbutton" and "form" classes, maybe even a common superclass "rectangle" of both classes, that could explain why this works and how it works.
Bye, Olaf.