Description
Moves a control or object to another position relative to its parent window, or for some window objects, relative to the screen.
Applies to
Syntax
PowerBuilder
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  | 
                        
Return value
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.
Usage
Inherited from system window object. For information, see the section called “Move” in PowerScript Reference.


