$root.$iwindows.WINDOW.$objs.oBrowser

Parent: $root.$iwindows.WINDOW.$objs
 
Children 

Class notation

Properties Methods Events 

Properties

Object specific 
$acceptlanguagelistComma delimited ordered list of language codes without any whitespace that will be used in the Accept-Language HTTP header. E.g. en-GB will try loading the web page in English.
$allowjsdraganddropIf true,integration with Omnis drag and drop is disabled and the control uses native JavaScript drag and drop
$applycssIf true,and $urlcontrolname is the name of an Omnis HTML control,create a CSS class called omnishtml that can be used to apply properties such as $backcolor and $textcolor to the control
$cangobackIf true,you can use $back() to move to the previous URL in the browser back-forward list
$cangoforwardIf true,you can use $forward() to move to the next URL in the browser back-forward list
$contextmenuremovebackforwardIf true,the back and forward navigation items are removed from the default context menu
$cssextraOnly applies to Omnis HTML controls.Additional CSS text appended to the omnishtml CSS class generated when $applycss is true
$currenturlRead-only property containing the URL to which the main frame of the browser has been navigated
$disabledefaultcontextmenuIf true, the default context menu for the object will not be generated in response to a context click ($clib.$disabledefaultcontextmenu and $cobj.$disabledefaultcontextmenu must both be false for the menu to be generated)
$donotredirectconsoletotracelogIf true, do not redirect browser console messages to the Omnis trace log
$dragobjectbarcolorThe color of the drag object/drag duplicate bar at the top of the control when $dragmode is set to drag object or drag duplicate
$fieldstylefocusedThe style in system class #STYLES assigned to this field in addition to $fieldstyle when the control has focus
$gridsectionThe type of the complex grid section containing the object. One of the kGrid... constants
$headerlistA 2 column list of headers to add or remove,for each URL request. Column 1 is the header name (without trailing colon) and column 2 is the header value. Set the header value to #NULL to remove the header
$hilitelineIf true, the object highlights lines during drag and drop
$htmlcontroloptionsIf $urlorcontrolname is the name of an Omnis HTML control,this contains a row of control-specific options defined in the control info JSON file
$htmlcontrolsusehttpIf true (recommended), html controls will be hosted over HTTP rather than accessed using file URLs. Ensure 'disableInRuntime' is false in config.json
$ignorecertificateerrorsIf true, a URL with certificate errors will be allowed to be loaded.
$isentryfieldIf true,the control is a text entry field.Certain keys (e.g. tab, return and enter) are treated as data by the control rather than generating Omnis events
$tooltipposA kTooltipPos... constant that specifies where $tooltip appears relative to the control
kTooltipPosBottom kTooltipPosLeft kTooltipPosMouse kTooltipPosRight kTooltipPosTop
$urlorcontrolnameThe browser URL or Omnis HTML control name,as set by setting this property.This differs from the runtime property $currenturl which is the URL to which the user has navigated the main frame of the browser
Standard$active $align $alpha $backalpha $backcolor $candropcursor $componentctrl $componentinfo $componentlib $componentvalid $container $contextmenu $dataname $disablefocus $disablesystemfocus $dragborder $dragiconid $dragmode $dragrange $dropmode $edgefloat $effect $enabled $fieldstyle $font $fontsize $fontstyle $framehwnd $gridcolumn $hasfocus $height $helpfile $hwnd $ident $keyevents $left $name $nodropcursor $objtype $order $osdropflags $selected $sidepanel $sidepanelmode $statusevents $textcolor $tooltip $top $userinfo $visible $width

Methods

Object specific 
$back$back() Navigate backwards to the previous URL in the browser back-forward list.Returns a Boolean,true for success
$callmethod$callmethod(cName,vParam) Only applies to Omnis HTML controls.Calls method cName in the control object,passing parameter vParam;returns a unique id for this call.Method runs asynchronously and sends evCallMethodDone on completion
$canceldownload$canceldownload(iDownloadId) Cancels the file download with the specified iDownloadId
$forward$forward() Navigate forwards to the next URL in the browser back-forward list.Returns a Boolean,true for success
$reload$reload() Reload the current page
$sendevent$sendevent(iEvent[,eventParameters...]) Sends event iEvent (an ev... constant value) to the object with eventParameters passed as name,value pairs, for example $sendevent(evClick,'pLineNumber',2).Returns kFalse if the event is discarded
$setdataurl$setdataurl(vData,cMediaType[,cWidth,cHeight]) Assigns data URL to $urlorcontrolname with type cMediaType.If vData is not binary it is converted to character and then UTF-8 first.If cWidth and cHeight are present the data is added as an IMG
$showpanel$showpanel(iAction[,iMode=kSidePanelModeAuto]) executes kSidePanelAction... on a side panel object. iMode only applies to kSidePanelActionShow,and must be kSidePanelModeCover/Push/Auto. For JS client,$showpanel must be executed on the client
$startdownload$startdownload(iDownloadId,cDestPath) Starts the file download with id iDownloadId,storing the file at cDestPath
Standard$redraw

Events

Object specific 
evWillHideSent to a field before it is hidden. Currently only used when the field is set as a side panel
Parameters
pEventCodeThe event code
pSidePanelIf true,this object is being hidden or shown as a side panel
evWillShowSent to a field before it becomes visible. Currently only used when the field is set as a side panel
Parameters
pEventCodeThe event code
pSidePanelIf true,this object is being hidden or shown as a side panel
StandardevAfter evBefore evCanDrop evDisabled evDrag evDragBorder evDragFinished evDrop evEnabled evHidden evKey evMouseDouble evMouseDown evMouseEnter evMouseLeave evMouseUp evOpenContextMenu evRMouseDouble evRMouseDown evRMouseUp evSent evShiftTab evShown evTab evWillDrop

Children

Top 

$methods