Method XbpToolBar():create() Foundation

Requests system resources for the XbpToolBar object.

Syntax
:create( [<oParent>]   , [<oOwner>], ;
         [<aPos>]      , [<aSize>] , ;
         [<aPresParam>], [<lVisible>] ) --> self
Parameters
<...>
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().
Return

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

Description

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!

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.