Object specific | |
$acceptlanguagelist | Comma 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. |
$allowjsdraganddrop | If true,integration with Omnis drag and drop is disabled and the control uses native JavaScript drag and drop |
$applycss | If 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 |
$cangoback | If true,you can use $back() to move to the previous URL in the browser back-forward list |
$cangoforward | If true,you can use $forward() to move to the next URL in the browser back-forward list |
$contextmenuremovebackforward | If true,the back and forward navigation items are removed from the default context menu |
$cssextra | Only applies to Omnis HTML controls.Additional CSS text appended to the omnishtml CSS class generated when $applycss is true |
$currenturl | Read-only property containing the URL to which the main frame of the browser has been navigated |
$disabledefaultcontextmenu | If 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) |
$donotredirectconsoletotracelog | If true, do not redirect browser console messages to the Omnis trace log |
$dragobjectbarcolor | The color of the drag object/drag duplicate bar at the top of the control when $dragmode is set to drag object or drag duplicate |
$fieldstylefocused | The style in system class #STYLES assigned to this field in addition to $fieldstyle when the control has focus |
$gridsection | The type of the complex grid section containing the object. One of the kGrid... constants |
$headerlist | A 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 |
$hiliteline | If true, the object highlights lines during drag and drop |
$htmlcontroloptions | If $urlorcontrolname is the name of an Omnis HTML control,this contains a row of control-specific options defined in the control info JSON file |
$htmlcontrolsusehttp | If true (recommended), html controls will be hosted over HTTP rather than accessed using file URLs. Ensure 'disableInRuntime' is false in config.json |
$ignorecertificateerrors | If true, a URL with certificate errors will be allowed to be loaded. |
$isentryfield | If 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 |
$tooltippos | A kTooltipPos... constant that specifies where $tooltip appears relative to the control kTooltipPosBottom kTooltipPosLeft kTooltipPosMouse kTooltipPosRight kTooltipPosTop |
$urlorcontrolname | The 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 |
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 |