All functions Mac OS X Windows Crossplatform Components New in version: 1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 2.0
Component: Window
Mac OS X: Works
Windows: Works
MBS( "Window.SetBounds" ; WindowRef; Left; Top; Right; Bottom )
Parameter | Description | Example value |
---|---|---|
WindowRef | Window Reference is the Unique OS level window ID. You can obtain this by using the Window.FindByTitle or the Window.FindByindex Function | 0 |
Left | the LEFT bound of the window | 100 |
Top | the TOP bound of the window | 100 |
Right | the RIGHT bound of the window | 500 |
Bottom | the BOTTOM bound of the window | 500 |
Sets the bounds of the window. This is another way of resizing the window. On Windows this function can be used to adjust the size of the application window as well.
Set Window Bounds
Let(
[
/*-----------------PARAMETERS--------------------*/
WindowRef = 0;
Left = 100;
Top = 100;
Right = 500;
Bottom = 500
];
/*-------------------FUNCTION----------------------*/
MBS(
"Window.SetBounds";
WindowRef;
Left;
Top;
Right;
Bottom
)
)
Feedback: Report problem or ask question.