FormsSetRect

Top  Previous  Next

Prototype

 

FormSetRect(intFormHandle,intValueLeft, intValueTop,intValueRight, intValueBottom )

 

Description

 

Sets the window rectangle position.

 

Parameters

 

intFormHandle: integer number corresponding to the window handle.

 

intValueLeft: integer number corresponding to the left coordinate.

 

intValueTop: integer number corresponding to the top coordinate.

 

intValueRight: integer number corresponding to the right coordinate.

 

intValueBottom: integer number corresponding to the bottom coordinate.

 

Returned value

 

None.

 

Notes

 

If intFormHandle is 0 the function processes the application mail window.

 

Example

 

//It initializes integer variables representing new form position

NewLeft:=100

NewTop:=100;

NewRight:=600

NewBottom:=600;

 

 

//It sets new position

FormSetRect(HandleForm, NewLeft,NewTop,NewRight,NewBottom);