TOC : OZ e-Form Extension > OZ e-Form JavaScript API > Input > TextBox > Method >

 

SetBrowserOption

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

TOC : OZ e-Form Extension > OZ e-Form JavaScript API > Input > TextBox > Method >

 

SetBrowserOption

 

 

Sets the options to control web browser screen that will display the report when linking the report.

 

 

 

Prototype :

 

void SetBrowserOption

(

       string OptionTag,

       string TagValue

)

 

 

 

Arguments :

 

OptionTag

Option Tag

TagValue

Tag Value

 

 

 

Reference :

 

This is only supported on the ActiveX Viewer.

 

SetLinkPostURL() or SetLinkURL() should be called before calling SetBrowserOption().

 

Available options are as follows:

 

option_tag

value

description

ShowToolbar

"true" / "false"

show web browser toolbar (default : "true")

ShowStatusBar

"true" / "false"

show web browser status bar (default : "true")

ShowMenuBar

"true" / "false"

show web browser menu bar (default : "true")

ShowAddressBar

"true" / "false"

show web browser location bar(default : "true")

Left

"<INT>"

left position of the web browser

Top

"<INT>"

top position of the web browser

Width

"<INT>"

width of the web browser

Height

"<INT>"

height of the web browser

 

 

 

Example :

 

//launch the web browser hiding status bar

  This.SetLinkURL("http://www.forcs.com", "_blank");

  This.SetBrowserOption("ShowStatusBar", "false");

 

 

 

Available Events :

 

OnAddToPage,  OnBind,  OnEndBind,  OnInitialize,  OnStartBind