Spread 8.0 Documentation
Example
Support Options

Glossary Item Box

Example


The following example sets the item data associated with the specified column.

C++

for(x = m_Spread.GetSelBlockCol( ) x<=m_Spread.SelBlockCol2( ); x++)
    {
    m_Spread.SetColItemData(x, l);
    }

Visual Basic

For x = fpSpread1.SelBlockCol To fpSpread1.SelBlockCol2
    l = Val(fpSpread1.Text)
    fpSpread1.SetColItemData x, l
    fpSpread1.Row = fpSpread1.Row + 1
Next x

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