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
  

CONTROL

The CONTROL tag is used to create a new toobar control. There are various control types and styles as defined by the control's type and style parameters.

Syntax:


    <CONTROL

      action=""
      bgcolor=""
      border=""
      cache=""
      caption=""
      color=""
      disabled=""
      global=""
      id=""
      height=""
      hidden=""
      hspace=""
      iconwidth=""
      iconheight=""
      onbeginload=""
      onchange=""
      onload=""
      style=""
      type=""
      valign=""
      value=""
      vspace=""
      width=""
      >

    </CONTROL>



Parameters:


    ParameterDescription
    bgcolorBackground color. Will set the background color of some controls types like Edit & combo boxes, static text etc.
    (requires v2.4.1 or later)
    colorText color. Will set the font color of certain controls like Edit & Combo boxes, static text etc.
    (requires v2.4.1 or later)
    idControl ID. Used to referece the control in functions.
    typeControl Type. The valid values are toolbar, static, edit, combo, button, image, radio, checkbox, links, favorites, browser
    styleControl style. The style can be a combination of one or more of the following values:
  • rightalign, leftalign, rtlreading
  • readonly, password, number, uppercase, lowercase
  • flat, left, right, center, top, bottom, vcenter
  • captionControl caption. Captions are only used with some control types: static, radio, checkbox and button. For all other control types the caption is ignored.
    actionAction to take or commands to execute when the control is activated, clicked etc.
    disabledCan have a value of either 1 or 0. The control is disabled if 1.
    borderDefines the control border style. The border can have one of the following values: 0,1,solid,client,modal,sunken
    hiddenSpecifies whether the control is hidden or visible. The possoible values are:
  • 0 - Control is hidden
  • 1 - Control is Visible
  • 2 - Control is Always visible and can not be hidden.
  • valignVertical alignment. The possible values are: top, bottom, center. The default alignment is top.
    vspaceVertical offset in pixels
    hspaceHorizontal offset in pixels.
    heightControl height in pixels.
    widthControl width in pixels.
    iconwidthToolbar icon width in pixels. (only used with toolbar controls)
    iconheightToolbar icon height in pixels. (only used with toolbar controls)
    valueControl value
    globalIf set to 1, the control's value will be global. Global values are shared between controls with the same id of different toolbars.
    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:

    The Cache parameter is only used if a trigger of a function is used to access data from an external URL. It specifies how long a cached copy can be used before needing to re-request the page. The value is in hours, however hour fractions can also be specified where 0.5 would correspond to 30 minutes.

    Compatibility

      bgcolor and color parameters are supported in verison 2.4.1 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