Example
The following example retrieves the item data associated with the specified row.
C++
char buf[20];
for(x = m_Spread.GetSelBlockRow( ); x <= m_Spread.GetSelBlockRow2( ); x++)
{
l = m_Spread.GetRowItemData(x);
sprintf(buf,"%ld",l);
m_Spread.SetRow(x);
m_Spread.SetCol(1);
m_Spread.SetText(buf);
}
Visual Basic
For x = fpSpread1.SelBlockRow To fpSpread1.SelBlockRow2
l = fpSpread1.GetRowItemData(x)
fpSpread1.Text = Str$(l)
fpSpread1.Row = fpSpread1.Row + 1
Next x