Home Features Toolbar Library Forum Download Support Tutorial Manual
3. Reference
Triggers
Controls
TOOLBAR
CONTROL
BUTTON
MENU
SUBMENU
OPTION
SEPARATOR
COMMAND
COMMANDS
MENUDEFINITIONS
UNINSTALL
Common Parameters
TIMER
Variables
System Variables
Global Values
Functions
Text Functions
  

COMMAND

Defines a command. Commands enable you to group functions. Once defined, commands can be executed using the Command(id) function.

Syntax:

    <COMMAND

      id=""
      action=""
      onload=""
      onbeginload=""
      onchange=""
      cache=""

    ></COMMAND>


Parameters:


    ParameterDescription
    idControl ID. Used to referece the control in functions.
    actionAction to take or commands to execute when the control is activated, clicked etc.
    cacheCache timeout in hours.
    onbeginloadAction to take when a new page is about to be loaded.
    onloadAction to take when new page finishes loading.
    onchageAction to take when the control's value changes



Remarks:

    • Each command must have a unique id.
    • Commands should be encapsulated in the <COMMANDS>...</COMMANDS> block.


Example:



See Also:

Command() Function | COMMANDS block


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