Page 1 of 1

pixles or mm

Posted: Sat Jun 09, 2007 1:54 pm
by kajot
Could You tell me , if x1,x2,x3,x4 are in pixles or mm ?

DEFINE DIALOG oDlg FROM x1, x2 TO x3, x4 ;
TITLE If( lAppend, "New Customer", "Customer Update" )

@ x1, x2 SAY "&Name:" OF oDlg
@ x1, x2 GET cName OF oDlg

Re: pixles or mm

Posted: Sat Jun 09, 2007 2:52 pm
by Enrico Maria Giordano
Neither. They are dialog units. If you want pixels then resize the dialog in the ON INIT clause. Example:

Code: Select all

ACTIVATE DIALOG oDlg;
         ON INIT oDlg:Move( 0, 0, 1280, 1024 )
EMG