Moves a control or object to another position relative to its parent window, or for some window objects, relative to the screen.
DataWindow type |
Method applies to |
---|---|
PowerBuilder |
DataWindow control |
integerobjectname.Move ( integer x, integer y )
Argument |
Description |
---|---|
objectname |
A reference to an object or control you want to move |
x |
The x coordinate of the new location in PowerBuilder units |
y |
The y coordinate of the new location in PowerBuilder units |
Returns 1 if it succeeds and –1 if an error occurs or if objectname is a maximized window.
If any argument’s value is null, Move returns null.
Inherited from system window object. For information, see Move in the PowerScript Reference.