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
  

Highlight() Function

Highlights one or more keywords on a page.


Syntax:

    Highlight(text)


Parameters:

    text - String containing one or more keywords to highlight on the current page


Remarks:

  • The text parameter can contain variables to reference values of other controls.
  • The highlight function should be used with a button where the check button style is set.


Example:

    In the example below, the text entered in the query edit box is used as the input parameter.


    <xml id="toolbar">
    <toolbar caption="Highlight() Example">
    <control type="edit" id="%_QUERY%">
    <control type="toolbar">
    <button caption="Highlight" action="Highlight(query)"></button>
    </control>
    </toolbar>
    </xml>



    Note the use of the underscore(_) in the variable name to prevent URL encoding of the value.


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