Resize Event



 
Fires when the control has been resized.


Syntax

    function id_name::Resize(width, height)
Parameters
    width Long value that contains the new width.
    height Long value that contains the new height.
Remarks
    Note: The SiteKioskBrowserCtrl control can only be used within a skin context to create the browser part for rendering web pages, not in a normal html page.
Examples
    The following example shows an alert window when the control has been resized.

    ...
    <body>
    <OBJECT ID="SiteKioskBrowserCtrl" width="200" height="200"
    CLASSID="CLSID:6D23BE7D-A688-4F87-AC0E-1E6236F07990">
    </OBJECT>
    <SCRIPT TYPE="text/javascript">
    function SiteKioskBrowserCtrl::Resize(width, height)
    {
       alert(width + " / " + height);
    }
    </SCRIPT>
    </body>
    ...
    

Applies to
    SiteKiosk v5.0 (and later versions).

Back to top