DomAPI Home
DomAPI

domapi.Statusbar

See also: Elm
See also: Component

A statusbar which can contain multiple panels of information. Makes use of the Resizegrip component.

 


Statusbar Example: system, aqua

Statusbar Constructor

var statusbar1 = domapi.Statusbar({
  h      : 18,
  gap    : 2,
  margin : 2 
});
Also inherits the construtor arguments of Elm and Component.

Constructor Details
Parameter Type Default Description
h integer 18    
gap integer   
margin integer   

Methods unique to domapi.Statusbar

Also has the same methods as Elm and Component.

Properties unique to domapi.Statusbar

Also has the same properties as Elm and Component.

Methods
addPanel( arg )

The "arg" parameter fed to this method is an inline Object. See below for accepted parameters.
Any parameters not listed here that you add may also be attached to any returned Object.

Adds a new panel to the control.

Available "arg" Parameters:
Parameter Type Required Default Description
minW integer   50    
type integer   ptStretch  Valid entries are ptStretch and ptFixed
text String     The contents of the panel. 
textAlign String   left    
See also:  panels
back to top
Properties
panels type : Array

The collection of panels. Use Statusbar.addPanel() to add new panels.

See also:  addPanel
back to top
DHTML by www.domapi.com