sURL | (String) HTML page address. |
---|---|
sStyle | [optional] (String) Additional parameters that define the display mode of the window. Entries are in the KeyVal format, for example "modal:yes;".
"modal:yes/no;" (optional) - Flag, if the window is modal (yes) or non-modal (no) (yes = default). |
sOptions | [optional] (String) Additional parameters for displaying of the window. Entries are in the KeyVal format, for example "dialogLeft:50px;dialogTop:50px;dialogWidth:300px;dialogHeight:200px;resizable:no;".
"dialogWidth:nnn;" (optional) - Sets the width of the window in entered units (px, mm, cm).
"dialogHeight:nnn;" (optional) - Sets the height of the window in entered units (px, mm, cm).
"dialogLeft:nnn;" (optional) - Sets the position of the window in X-axis in entered units (px, mm, cm).
"dialogTop:nnn;" (optional) - Sets the position of the window in Y-axis in entered units (px, mm, cm).
"center:yes/no;" (optional) - Specifies whether to center the window within the desktop (yes = default).
"resizable:yes/no;" (optional) - Specifies whether the window has fixed dimensions (no = default).
"scroll:yes/no;" (optional) - Specifies whether the window displays scrollbars (yes = default).
"help:yes/no;" (optional) - Specifies whether the window displays the context-sensitive Help icon (yes = default).
"status:yes/no;" (optional) - Specifies whether the window displays a status bar (no = default). |
vArguments | [optional] (Variant) Parameter that is passed to the displayed HTML page. It can be of any data type, including an array of values.
HTML page in the window can access this value by means of the dialogArguments property of the window HTML object. |
Pm.WndHtmlPage("https://www.promotic.eu", "", "dialogLeft:50px;dialogTop:50px;dialogWidth:500px;dialogHeight:300px;resizable:no;help:no;");
Pm.WndHtmlPage("file://" + Pm.DiscGetPath("#winsys:eula.txt"));