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

Glossary Item Box

UserResizeCol Property


See Also    DLL    Example

Applies To

fpSpread control

Description

Sets or returns whether users can resize individual columns. This property is available at run time only.

Syntax

C++

long CSpreadSheet::GetUserResizeCol( );
void CSpreadSheet::SetUserResizeCol(long value);

Visual Basic

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

Remarks

The following settings are available:

Setting Description Constant
0 - Default (Default) Uses UserResize property setting UserResizeDefault
1 - On Lets user resize specified column UserResizeOn
2 - Off Does not let user resize specified column UserResizeOff

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. Set the Col property to specify a column before using the UserResizeCol property.

Spread Designer

Choose the Sheet menu, then the Columns and Rows menu, select the Columns tab, and then select an option in the Resizeable group box in the Settings-Current Column group box in the Column and Row Settings dialog box.

Before selecting an option button, select the column you want to let the user resize or not to resize.

Data Type

Integer (Enumerated)

See Also

Preventing Resizing of Columns and Rows with the Mouse

Col, Sheet, UserResize, UserResizeRow properties

ColWidthChange event

DLL Correspondence

SSGetUserResizeCol, SSSetUserResizeCol functions

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