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

Glossary Item Box

VisibleCols Property


See Also    DLL    Example

Applies To

fpSpread control

Description

Sets or returns the number of columns that are fully displayed.

Syntax

C++

long CSpreadSheet::GetVisibleCols( );
void CSpreadSheet::SetVisibleCols(long value);

Visual Basic

[form.]fpSpread.VisibleCols[ = value&]

Remarks

The default value for the VisibleCols property is 0.

Use the VisibleCols property when the AutoSize property is set to True. If the VisibleCols property is set to 0, the application uses the MaxCols property value.

This setting is applied to the current sheet setting unless you first set the Sheet property to specify the sheet for which you are setting the property.

Spread Designer

Choose the Sheet menu, then the Columns and Rows menu, select the Columns tab, and then choose or type a number in the Visible Cols spin box in the Settings-All Columns group box in the Column and Row Settings dialog box.

Data Type

Long Integer

See Also

Displaying a Specified Number of Columns and Rows

AutoSize, MaxCols, Sheet, VisibleRows properties

DLL Correspondence

SSGetAutoSizeVisible, SSSetAutoSizeVisible functions

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