DIALOG PIXELS statement

Purpose | Convert pixels (device units) into dialog units.
Syntax | DIALOG PIXELS hDlg, x&, y& TO UNITS xx&, yy&
Remarks | The pixel values specified in the x& and y& variables are converted into dialog units, based on the default font of the dialog specified by hDlg. The resulting value in dialog units is 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 SET LOC, DIALOG SET SIZE, DIALOG UNITS