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

Glossary Item Box

ReDraw Property


See Also    DLL    Example

Applies To

fpSpread control

Description

Sets or returns whether the application immediately redraws the fpSpread control after the user makes changes.

Syntax

C++

BOOL CSpreadSheet::GetReDraw( );
void CSpreadSheet::SetReDraw(BOOL value);

Visual Basic

[form.]fpSpread.ReDraw[ = boolean%]

Remarks

The default value for the ReDraw property is True.

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

When the ReDraw property is set to True, the control automatically refreshes itself each time the user sets a property that changes the control's appearance or data. When the ReDraw property is set to False, the control does not refresh itself each time the user makes changes.

Set the ReDraw property to False when adding large amounts of data or when making multiple changes to the control's appearance; then when you are finished, reset the ReDraw property to True. The items on the screen that have changed since the ReDraw property was set to False are then refreshed.

Note: Even if you set the Redraw property to False, some changes might be shown on the screen, depending on the type of changes and the order in which they are made.

Data Type

Integer (Boolean)

See Also

Preventing Flickering

DLL Correspondence

SSGetBool (SSB_REDRAW), SSSetBool (SSB_REDRAW) functions

Copyright © GrapeCity, inc. All rights reserved.