TabBase.setAppearance

Overview | Methods | This Package | All Packages

TabBase.setAppearance

Sets a value indicating whether the tabs in this control have the appearance of standard tabs, three-dimensional buttons, or flat buttons.

Syntax

public final void setAppearance( int value )

Parameters

value

An integer that indicates what the tabs in this control look like. Possible values are constants defined in the TabAppearance class. The default value is TabAppearance.NORMAL.

Exceptions

WFCInvalidArgumentException thrown if the specified value is not a valid TabAppearance constant.

Remarks

If the alignment property for this control is set to anything other than TabAlignment.TOP, tabs cannot have the appearance of flat buttons (tabs will look like three-dimensional buttons if the appearance property is set to TabAppearance.BUTTONS or TabAppearance.FLAT_BUTTONS).

See Also   getAppearance