All functions
Mac OS X
Windows
Crossplatform
Components
Guides
New in version:
1.0
1.1
1.2
1.3
1.4
1.5
1.6
1.7
1.8
2.0
2.1
2.2
2.3
2.4
2.5
2.6
Window.SetBounds
Component: Window
Version: 1.0
Mac OS X: Works
Windows: Works
MBS( "Window.SetBounds" ; WindowRef; Left; Top; Right; Bottom )
Parameters
| Parameter | Description | Example value |
|---|---|---|
| WindowRef | Window Reference is the unique OS level window ID. You can obtain this by using the Window.FindByTitle or Window.FindByIndex functions. Pass zero to access the frontmost window. | 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 |
Description
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.
Examples
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.
Loading
Links
MBS Real Studio PDF Plugins - Pfarrgemeinde Ministranten Nickenich