Windows Component
Fnd_Wnd_OpenWindow
Fnd_Wnd_OpenWindow (width; height) -> Number
Parameters
| Parameter | Type | Description |
|---|---|---|
| width | Longint | The width of the new window |
| height | Longint | The height of the new window |
| Function result | Number | The new window’s reference number This routine will open a new window with the specified width and height. You can use other Window component routines to set the window’s type, title, and close box before calling this routine. Unless the new window uses a previously saved position (see the Fnd_Wnd_UseSavedPosition method), the new window will use the position set by the Fnd_Wnd_Position method). If you do not need the new window’s reference number you can safely call this method as a command, rather than as a function. This method is basically Foundation’s version of the typical CenterWindow method. If no other Foundation Windows routines are used, a plain window will be opened in the center of the screen. |
Description
Extracted source text
Fnd_Wnd_OpenWindow (width; height) ➜ Number
Parameter Type Description
width Longint The width of the new window
height Longint The height of the new window
Function result Number The new window’s reference number
This routine will open a new window with the specified width and height. You can use other Window
component routines to set the window’s type, title, and close box before calling this routine. Unless the
new window uses a previously saved position (see the Fnd_Wnd_UseSavedPosition method), the
new window will use the position set by the Fnd_Wnd_Position method).
If you do not need the new window’s reference number you can safely call this method as a command,
rather than as a function.
This method is basically Foundation’s version of the typical CenterWindow method. If no other
Foundation Windows routines are used, a plain window will be opened in the center of the screen.