Method XbpToolBar():create() Foundation

Requests system resources for the XbpToolBar object.

:create( [<oParent>]   , [<oOwner>], ;
         [<aPos>]      , [<aSize>] , ;
         [<aPresParam>], [<lVisible>] ) --> self
The parameters for :create() are identical to the parameters for the :new() method. See the :new() method for descriptions of these parameters. The values specified in :new() are used as the default values for the parameters passed to :create().

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


Executing the method :create() is important in the life cycle of an XbpToolBar object. After an XbpToolBar 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(). This means parent, owner, size, etc. can be specified either in the method :new() or the method :create().

The height of an XbpToolBar object is computed dynamically and cannot be controlled by the Xbase++ application. It is adjusted with respect to the captions and images displayed in the tool bar object's buttons. Consequently, the value specified in array element nYSize is ignored!


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.