Method XbpDialog():new() Foundation

Creates an instance of the XbpDialog class.

XbpDialog():new( [<oParent>], ;
                 [<oOwner>], ;
                 [<aPos>], ;
                 [<aSize>], ;
                 [<aPresParam>], ;
                 [<lVisible>] ) --> oXbpDialog
<oParent> optionally specifies the parent for the XbpDialog object. By default, <oParent> is the active window, which is the return value of SetAppWindow().
<oOwner> optionally specifies the owner for the XbpDialog object. By default <oOwner> is the same as <oParent>.
<aPos> := { nX, nY }
The optional parameter <aPos> can be used to specify the position where the XbpDialog object is displayed. By default, this parameter contains the array {0,0}. This specifies the position for the lower left corner of the XbpDialog object. The first element contains the x coordinate and the second element contains the y coordinate. The coordinates are relative to the coordinate system of <oParent>.
<aSize> := { nXsize, nYsize }
The parameter <aSize> optionally specifies the size of the XbpDialog object. <aSize> must be an array containing two elements. The first element specifies the dimension in the x direction (width) and the second element specifies the dimension in the y direction (height). The default value for the array {0,0}.
A two dimensional array can be specified for <aPresParam>. Refer to Generic presentation parametersfor a detailed explanation.
The parameter <lVisible> determines whether an XbpDialog object is visible immediately after the method :create() is called. By default <lVisible> is .T. (true) and the XbpDialog object is displayed after the call to the method :create(). This default behavior can be suppressed by specifying the value .F. (false) for the parameter <lVisible>. In this case, the XbpDialog object must be explicitly displayed using the :show() method.

The class method :new() returns an XbpDialog object.


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.