
See samples: ActionScriptMgr.py, KeyboardMapper.py, Spread.py.
Public Member Functions |
|
| object | GetCellValue (int pRow, int pColumn) |
| Get a cell's value. |
|
| void | SetCellValue (int pRow, int pColumn, object pValue) |
| Set a cell's value. |
|
| FBSpreadCell | GetSpreadCell (kReference pRef, int pColumn) |
| Get a cell from row and column numbers.
|
|
| FBSpread () | |
| Constructor. |
|
| Clear () | |
| Clear spreadsheet This function will empty
spreadsheet of all its rows, columns and cells. |
|
| ColumnAdd (str pString, kReference pRef=0) | |
| Add a column. |
|
| GetCellView (kReference pRef, int pColumn, HIKtView pView) | |
| Get a cell's internal toolkit view. |
|
| FBSpreadColumn | GetColumn (int pColumn) |
| Get a column from a column number. |
|
| FBSpreadCell | GetCurrentCell () |
| Get the current cell. |
|
| FBSpreadRow | GetRow (kReference pRef) |
| Get a row from a row reference. |
|
| RowAdd (str pString, kReference pRef=0) | |
| Add a row. |
|
| RowSort (bool pAscending=True) | |
| Sort rows. |
|
| SetCellView (kReference pRef, int pColumn, HIKtView pView) | |
| Set a cell's internal toolkit view. |
|
Public Attributes |
|
| str | Caption |
| Read Write Property: Caption to
display for spreadsheet. |
|
| int | Column |
| Read Write Property: Current column.
|
|
| bool | MultiSelect |
| Read Write Property: Can there be
multiple selections? |
|
| FBEvent | OnCellChange |
| Event: Cell value changed. |
|
| FBEvent | OnColumnClick |
| Event: Column clicked. |
|
| FBEvent | OnDragAndDrop |
| Event: Drag and drop event. |
|
| FBEvent | OnRowClick |
| Event: Row clicked. |
|
| FBkReference | Row |
| Read Write Property: Current row.
|
|
| FBSpread | ( | ) |
Constructor.
Set a cell's value.
This will also set the FBSpreadCell.Style to the type of pValue (kFBCellStyleInteger if pValue is an int, kFBCellStyleDouble if pValue is a float, kFBCellStyleString if pValue is a str).
| FBSpreadCell GetSpreadCell | ( | kReference | pRef, | |
| int | pColumn | |||
| ) |
Get a cell from row and column numbers.
| pRef | Row reference. | |
| pColumn | Column number. |
| Clear | ( | ) |
Clear spreadsheet This function will empty spreadsheet of all its rows, columns and cells.
| ColumnAdd | ( | str | pString, | |
| kReference | pRef = 0 |
|||
| ) |
Add a column.
| pString | Text to display with column. | |
| pRef | User-define column reference number(default=0). |
| GetCellView | ( | kReference | pRef, | |
| int | pColumn, | |||
| HIKtView | pView | |||
| ) |
Get a cell's internal toolkit view.
| pRef | Row of cell. | |
| pColumn | Column of cell. | |
| pView | Handle of view. |
| FBSpreadColumn GetColumn | ( | int | pColumn | ) |
Get a column from a column number.
| pColumn | Column number. |
| FBSpreadCell GetCurrentCell | ( | ) |
Get the current cell.
| FBSpreadRow GetRow | ( | kReference | pRef | ) |
Get a row from a row reference.
| pRef | Reference to a row. |
| RowAdd | ( | str | pString, | |
| kReference | pRef = 0 |
|||
| ) |
Add a row.
| pString | Text to display with row. | |
| pRef | User-defined reference for row(default=0). |
| RowSort | ( | bool | pAscending = True |
) |
Sort rows.
| pAscending | If true, sort ascending. |
| SetCellView | ( | kReference | pRef, | |
| int | pColumn, | |||
| HIKtView | pView | |||
| ) |
Set a cell's internal toolkit view.
| pRef | Row of cell. | |
| pColumn | Column of cell. | |
| pView | View to use to set cell's view. |
Read Write Property: Caption to display for spreadsheet.
Reimplemented from FBVisualComponent.
Read Write Property: Can there be multiple selections?
Event: Cell value changed.
Event: Column clicked.
Event: Drag and drop event.
Event: Row clicked.
| FBkReference Row |
Read Write Property: Current row.
1.5.3