Method XbpMenu():create() Foundation

Requests system resources for the XbpMenu object.

:create( [<oParent>]   , ;
         [<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 each XbpMenu object. After an XbpMenu object is instantiated, the object exists but is not yet operational. System resources must be requested from OS/2 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 that the parent, etc. can be specified either in the method :new() or the method :create().


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.