DIALOG UNITS statement

Purpose | Convert dialog units into pixels.
Syntax | DIALOG UNITS hDlg, x&, y& TO PIXELS xx&, yy&
Remarks | The dialog units specified in the x& and y& variables are converted into pixels, based on the default font of the dialog specified by hDlg. The resultant pixel values are stored in the xx& and yy& variables.
See also | Dynamic Dialog Tools, CONTROL GET CLIENT, DIALOG GET CLIENT, DIALOG GET LOC, DIALOG GET SIZE, DIALOG PIXELS, DIALOG SET LOC, DIALOG SET SIZE