Allows you to freeze the display of a row or column in a Spreadsheet control. The frozen rows and columns will remain visible when moving in the worksheet.
You can:
- freeze one or more columns on the left (or free them).
- freeze one or more rows at the top (or free them).
// Freezes the 1st row
SpreadsheetFreeze(PSHEET_MySpreadsheet, 1, 0)
// Freezes the 1st column
SpreadsheetFreeze(PSHEET_MySpreadsheet, 0, 1)
Syntax
SpreadsheetFreeze(<Spreadsheet control> , <Row> , <Column>)
<Spreadsheet control>: Control name
Name of the Spreadsheet control to be used.
<Row>: Integer
- Number of the last row to freeze. All the specified rows (from the first one to the specified number) will be frozen.
- 0 to free the frozen rows.
<Column>: Integer
- Number of the last column to freeze. All the specified columns (from the first one to the specified number) will be frozen.
- 0 to free the frozen columns.