DIALOG GET SIZE statement

Purpose

Return the size of the specified dialog.

Syntax

DIALOG GET SIZE hDlg TO x&, y&

Remarks

hDlg refers to the dialog to examine.  The total size of the dialog is placed in the x& (width) and y& (height) variables.  If the dialog was created with the PIXELS option in the DIALOG NEW statement, the values are returned in pixel units.  If the UNITS option was used (or no scaling option was specified), the values are returned in dialog units.

See also

Dynamic Dialog Tools, DIALOG GET CLIENT, DIALOG GET LOC, DIALOG PIXELS, DIALOG SET LOC, DIALOG SET SIZE, DIALOG UNITS