Toolbar Browser
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
 

CheckLinks() Function

Checks all links on the current toolbar.

Syntax:

    CheckLinks()


Parameters:

    nil


Remarks:


    • The CheckLinks() functions downloads all links on the current toolbar.
    • A green tick is displayed next to the link button if the link is OK and the page has not changed.
    • A clock icon is displayed f the page has been modified since the last time a check has been performed.
    • A red cross icon indicates a broken link or other type of page error.
    • The CheckLinks() function is asynchronous. It returns before the validation is complete.



Example:



    <xml id="toolbar">
    <toolbar caption="CheckLinks() Example">
    <button caption="Check" action="CheckLinks()"></button>
    <button caption="OK link" action="http://www.trellian.com/index.html" image="GetSystemIcon(*.htm)"></button>
    <button caption="Boken link" action="http://www.trellian.com/badlink.html" image="GetSystemIcon(*.htm)"</button>
    </control>
    </toolbar>
    </xml>




Compatibility:

    Requires ToolbarBrowser version 2.1.2 or later.


See Also: