Home Features Toolbar Library Forum Download Support Tutorial Manual
3. Reference
Triggers
Controls
Variables
System Variables
Global Values
Functions
AutoFill()
Back()
Beep()
CheckLinks()
Checksum()
Click()
Command()
Customize()
DeleteOption()
Enable()
Execute()
ExportLinks()
Forward()
GetFolderIcon()
GetQuery()
GetSystemIcon()
Header()
Highlight()
HistoryMenu()
Home()
IfExactMatch()
IfMatch()
ImportValue()
ImportCaption()
ImportIntValue()
ImportXMLValue()
Length()
LoadMenu()
Menu()
OpenURL()
Options()
PageText()
PlaySound()
PopupManager()
Refresh()
Replace()
ReplaceAll()
Resize()
ResizeClient()
Redraw()
Save()
Search()
SearchBack()
SearchLast()
SearchNext()
SearchPage()
SetCaption()
SetClipboard()
SetFocus()
SetFontSize()
SetIcon()
SetOption()
SetParam()
SetText()
SetStatusText()
SetTooltip()
SetUserAgent()
SetValue()
Show()
Stop()
StripHTML()
ToolbarMenu()
TruncateOption()
UpdateToolbar()
Zoom()
Text Functions
  

SetText() Function

Sets the browser text

Syntax:

    SetText(text)
    SetText(id,text)


Parameters:

    id - specifies the ID of a HTML control to write text to. If left out, the current browser window is used.
    text - text to set. Can include HTML.



Remarks:

  • This function sets the text of the current browser's main window, or a specified toolbar HTML control. It can be used to display a plain text message or HTML.


Example:


    <xml id="toolbar">
    <control type="toolbar">
    <button id=test caption="Click Me" action="SetText('$USERAGENT<bt>$URL')"></button>
    </control>
    </xml>


    The above code creates a toolbar with a single button. When the button is clicked, the Browser's user agent string and current URL are displayed in the browser's main window.


See Also:

SetStatusText() Function

Compatibility

The id parameter is supported by version 2.3.2 and above.


Website Popularity Rank | Build Your Own Toolbar | Free Download | Custom Toolbars | Features | Contact Us

ToolbarBrowser is a freeware project supported by Trellian Limited. | Privacy Policy