- Non-resizable windows
- Display mode
- Buttons of title bar
- Parent window/Child window
- Equivalent functions
WinSize (Function) In french: FenTaille
// Increase the width and height of "WIN_Edit" window WinSize(WIN_Edit, WIN_Edit..Width + 20, WIN_Edit..Height + 30)
Syntax
Modifying the window height and/or width Hide the details
WinSize(<Window> , <Width> , <Height>)
<Window>: Window name Name or alias of window to use. If this parameter corresponds to an empty string (""), the width and/or height of current window is modified. Versions 24 and later New in version 24 <Width>: Integer New total window width. This value must be included between the minimum width (returned by ..MinWidth) and the maximum width (returned by ..MaxWidth). To find out the current window width, use ..Width. To avoid modifying this parameter, use the Default constant. <Height>: Integer New total window height. This value must be included between the minimum height (returned by ..MinHeight) and the maximum height (returned by ..MaxHeight). To find out the current window height, use ..Height. To avoid modifying this parameter, use the Default constant.
Moving a window and/or modifying its height and/or width Hide the details
WinSize(<Window> , <Horizontal position> , <Vertical position> , <Width> , <Height>)
<Window>: Window name Name or alias of window to use. If this parameter corresponds to an empty string (""), the width and/or height of current window is modified and the current window is moved. Versions 24 and later New in version 24 <Horizontal position>: Integer New horizontal position of window in relation to the top left corner of the screen. To avoid modifying this parameter, use the Default constant. <Vertical position>: Integer New vertical position of window in relation to the top left corner of the screen. To avoid modifying this parameter, use the Default constant. <Width>: Integer New total window width. This value must be included between the minimum width (returned by ..MinWidth) and the maximum width (returned by ..MaxWidth). To find out the current window width, use ..Width. To avoid modifying this parameter, use the Default constant. <Height>: Integer New total window height. This value must be included between the minimum height (returned by ..MinHeight) and the maximum height (returned by ..MaxHeight). To find out the current window height, use ..Height. To avoid modifying this parameter, use the Default constant. Remarks WinSize is used to modify the window size even if this window is a "non-resizable" window.
This page is also available for…
|
|
|