Class XbpCellGroup() Foundation

Class function of the XbpCellGroup class.

Superclass
Description

XbpCellGroup() is a service class used to display a set of data as a one column table. Objects of this class are used by the XbpColumn()class for displaying the heading, footing and data area of a single column within an XbpBrowse() object.

Class methods
:new()
Creates an instance of the XbpCellGroup class.
Configuration

The instance variables in this group configure system resources. If changes are made to the default values, they must be made before the :create() method is executed or :configure() must be called to activate the changes.

:clipParent
Determines whether the parent is clipped during graphic output.
:DrawMode
Specifies the drawing mode of the XbpCellGroup object.
:maxRow
Defines the number of rows, or cells, to display.
:referenceString
Reference string to calculate the width of one character.
:type
Defines the visual representation of data displayed by an XbpCellGroup object.
Life cycle
:create()
Requests system resources for the XbpCellGroup object.
:configure()
Reconfigures the XbpCellGroup object after :create() has been executed.
:destroy()
Releases the system resources of the XbpCellGroup object.
Display methods
:cellFromPos()
Retrieves the row position of a cell from a graphic coordinate.
:cellRect()
Determines the graphic X/Y coordinates of a single cell.
:drawCell()
Draws a single or multiple cells.
:getCell()
Retrieves the value of a cell.
:getCellColor()
Retrieves the fore- and/or background color of a cell.
:hiliteCell()
Displays a cell in normal or highlight color.
:rowCount()
Determines the number of rows, or cells, displayed by the object.
:scrollDown()
Scrolls cell contents upwards and clears the cells at the bottom.
:scrollUp()
Scrolls cell contents downwards and clears the cells at the top.
:setCell()
Defines the value to be displayed in a cell.
:setCellColor()
Changes the foreground and/or background color of a cell.
Events
:customDrawCell
A cell within an owner-drawn XbpCellGroup object needs to be redrawn.
:itemMarked
Left mouse button is pressed on a cell.
:itemSelected
Left double click occurred in a cell.
Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.