Home Features Toolbar Library Forum Download Support Tutorial Manual
3. Reference
Triggers
OnBeginLoad
OnLoad
OnChange
OnActivate
OnSelect
OnFocus
OnKillFocus
OnRank
OnSave
Controls
Variables
System Variables
Global Values
Functions
Text Functions
  

OnSelect Trigger

The onselect trigger is activated when a user selects an item from a combo box control's dropdown list.


Syntax:

    onselect="Function(); Function2(); ..."


Remarks:

  • This trigger only works with combo box controls. It can be used within the CONTROL tag, as well as the OPTION tag, provided the option tag defines a dropdown list item.




Example:

    <xml id="toolbar">
    <toolbar caption="OnSelect Example">
    <control id=query type="combo" width=120 onselect="SetText(Selected:%QUERY%)">
    <option caption="Item 1">
    <option caption="Item 2">
    </control>
    </toolbar>
    </xml>


    In the above example, selecting an item from the dropdown list, activates the OnSelect trigger to display the value of the combo control in the current browser.


Compatibility

    Requires ToolbarBrowser v2.4.3 and later.


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