Spread 8.0 Documentation
AppearanceStyle Property
Support Options
ActiveX Reference > ActiveX Properties > AppearanceStyle Property

Glossary Item Box

AppearanceStyle Property


See Also    DLL

Applies To

fpSpread control

Description

Sets or returns predefined styles.

Syntax

C++

long CSpreadSheet::GetAppearanceStyle( )
void CSpreadSheet::SetAppearanceStyle(long value)

Visual Basic

[form.]fpSpread.Appearance[ = setting%]

Remarks

The AppearanceStyle property lets you use predefined styles to create the control appearance. The setting of this property determines which properties or methods can be used to further customize the control. The enhanced methods such as SetEnhancedColumnHeaderColors, etc... will have no effect if the style is classic. The ScrollBarColor property will have no effect if the style is enhanced.

A new, default Spread control will use the enhanced appearance style. A Spread control that has been upgraded from a version prior to 8.0 will use the classic style.

This setting is applied to the entire workbook, including all sheets in the control.

The following settings are available:

Setting Description Constants
0 - Classic Creates a control with the classic Spread 7 appearance AppearanceStyleClassic
1 - VisualStyles Creates a control that uses the system settings for the visual style AppearanceStyleVisualStyles
2 - Enhanced Creates a control with three-dimensional headers and focus indicators for the active cell AppearanceStyleEnhanced

Spread Designer

Choose the Book menu, then the Display menu, select the Display tab, and then choose an item from the Style drop-down list box in the Book Settings dialog box.

Data Type

Integer (Enumerated)

See Also

Customizing the Appearance

BorderStyle property

DLL Correspondence

SSGetAppearanceStyle, SSSetAppearanceStyle functions

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.