Package Win32::GUI::Rebar

Back to the Packages

Constructor

new Win32::GUI::Rebar(PARENT, %OPTIONS)

Creates a new Rebar object; can also be called as PARENT->AddRebar(%OPTIONS). Class specific %OPTIONS are:

-bandborders => 0/1 (default 0)
  display a border to separate bands.
-fixedorder => 0/1 (default 0)
  band position cannot be swapped.
-imagelist => Win32::GUI::ImageList object
-varheight => 0/1 (default 1)
  display bands using the minimum required height.

Methods

BandCount()

Returns the number of bands in the Rebar control.

DeleteBand(INDEX)

Deletes the zero-based INDEX band from the Rebar.

InsertBand(%OPTIONS)

Inserts a new band in the Rebar control. Allowed %OPTIONS are:

-index => position or -1 to add it at the end, default -1
-image => index of an image from the associated ImageList
-bitmap => Win32::GUI::Bitmap object
-child => child control
-foreground => COLOR
-background  => COLOR
-width => pixels
-minwidth => pixels
-minheight => pixels
-text => string

RowCount()

Returns the number of rows in the Rebar control.

Events

HeightChange()

Sent when the height of the Rebar control has changed.

3 POD Errors

The following errors were encountered while parsing the POD:

Around line 59:

You can't have =items (as at line 63) unless the first thing after the =over is an =item

Around line 83:

You can't have =items (as at line 87) unless the first thing after the =over is an =item

Around line 133:

You can't have =items (as at line 137) unless the first thing after the =over is an =item