Classes

Method XbpPushButton():create() Foundation

Requests system resources for the XbpPushButton 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 each XbpPushButton object. After an XbpPushButton object is instantiated, the object exists but is not yet operational. System resources must be requested from the operating system 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().

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.