View comments | RSS feed

RectBorder class

The RectBorder class is used as the border of most components. A separate implementation of this class is provided by each theme, which has its own set of border styles and properties that it supports.

You interact with the RectBorder class primarily by setting styles on other components. For example, when you include a List component in a document and set the borderStyle style property, the List component creates a RectBorder instance that uses the list's borderStyle setting. You can also create a custom RectBorder implementation to skin the border of all components that use RectBorder.

The RectBorder class has four standard display styles: none, inset, outset, and solid.

The standard RectBorder display styles


The Halo theme also adds four special display styles, which are used by specific components.

The special RectBorder display styles added by the Halo theme


Special style

Component that uses it

default

Window

alert

Alert

dropDown

ComboBox and DateField

menuBorder

Menu and MenuBar

The RectBorder behavior and style properties described here are consistent for all components that use the RectBorder class.

Related topics:


Version 8

Comments


Dankalicious said on Feb 2, 2007 at 1:25 PM :
If possible, how do I hide the boarder around a scroll pane, and can I disconnect the scroll bar from the box.

 

RSS feed | Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flash/8/main/00003948.html