Mioplanet Documentation Center
Resources and Help
HomeProductsMioScriptJavaScriptTechNotesPHP
   Home | MioScript | window_resizable.k | window.resizable.init SEARCH    

  Functions
window.resizable.init

  MioScript Reference
> Statements
app...
browser...
dialog...
disk...
draw...
extern...
filename...
keyboard...
menu...
mio...
mouse...
num...
path...
pushButton...
reg...
RS232...
sci...
screen...
shortcut...
sound...
str...
system...
time...
var...
window...

Function
window.resizable.init

Language: MioScript
Product: MioFactory


Syntax

window.resizable.init(WindowID, borderStyle)


Parameters

IDWindowIDOptional.
ID of the window to set as resizable.
If this parameter is not specified or set to null, the function set the main window as resizable.
INTborderStyleOptional.
Default is 3 (sizable window).
Set the border style.
For more info: window.ID.borderStyle


Return value

No value is returned.


Description

This function set the specified window as resizable.
The function will also restore the last size, position and state of the window.

The function window.resizable.terminate must be called in the event event.terminate to hide the window and save the current size, position and state.

For more information: window_resizable.k




MioScript Sample Code

event.load
    app.init()
    window.resizable.init()
event.end

event.terminate()
     window.resizable.terminate()
event.end