Spread 8.0 Documentation
Example
Support Options

Glossary Item Box

Example


The following example places the text "Hello" in the active cell.

C++

// Select the active cell
m_Spread.SetRow(m_Spread.GetActiveRow( ));
m_Spread.SetCol(m_Spread.GetActiveCol( ));
// Enter data into the cell
m_Spread.SetText("Hello");

Visual Basic

' Select the active cell
fpSpread1.Row = fpSpread1.ActiveRow
fpSpread1.Col = fpSpread1.ActiveCol
' Enter data into the cell
fpSpread1.Text = "Hello"

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