Method XbpColumn():create() Foundation

Requests system resources for the XbpColumn object.

Syntax
:create() --> self
Return

The method returns the object executing the method (self).

Description

Executing the method :create() is important in the life cycle of each XbpBrowse object. After an XbpBrowse object is instantiated, the object exists but is not yet operational. System resources must be requested for the object to become fully- functional. This is done using the method :create(). This method has the same parameter list as the method :new().

While creating a column, several code blocks are installed into the callback slots of the objects used to maintain the column's heading, data and footing areas. These code blocks are used for forwarding column-level notifications to the XbpBrowse object, and are required for proper operation. The following table lists the callback slots which are changed by method :create().

Callback slots changed by create()
Callback slot Purpose
XbpCellGroup:lbDown Column resize management in XbpBrowse
XbpCellGroup:lbUp Column resize management in XbpBrowse
XbpCellGroup:rbDown Generation of xbeBRW_xxxRbDown notification
XbpCellGroup:motion Column resize management in XbpBrowse
XbpCellGroup:itemMarked Generation of xbeBRW_ItemMarked notification
XbpCellGroup:itemSelected Generation of xbeBRW_ItemSelected notification
XbpCellGroup:customDrawCell Generation of xbeP_CustomDrawCell notification

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.