Control_SetPos |

Funktionsname | dcl_Control_SetPos
Syntax | `(dcl_Control_SetPos <CONTROL> Left [as Long] Top [as Long] {Width [as Long]} {Height [as Long]})`
Rückgabewert | Boolean (T if successful; otherwise NIL)
Anwendbar auf | All Controls and Forms

This method sets the position and size of a form or control. If the control is a child window, the specified coordinates are relative to the upper left corner of the parent window's client area; otherwise they are screen coordinates. If the optional Width and Height arguments are omitted, the control's size will remain unchanged. Both Width and Height must be greater than zero.