Member variable XbpFileDialog():center Foundation

Determines whether the file dialog is centered in the parent window.

Attribute: EXPORTED
Data type: Logical (.F.)
Description

The :center instance variable contains the default value .F. (false). This positions the file dialog within the window of the parent based on the <aPos> parameter. If :center is set to .T. (true), the value in the <aPos> parameter is ignored and the dialog window is centered within the parent window.

If :center is set to .T. (true), the dialog window is centered within the parent window. If this is .F. (false), the file dialog is displayed at the upper left corner of the parent window.

Beginning with Windows Vista, the operating system uses a classic/compatible window style for dialogs which are customized in any way. For this reason, setting :center to .T. is discouraged on Windows Vista and newer operating systems.

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.