FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour pixles or mm
Posts: 357
Joined: Thu Nov 02, 2006 06:53 PM
pixles or mm
Posted: Sat Jun 09, 2007 01:54 PM

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

best regards

kajot
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: pixles or mm
Posted: Sat Jun 09, 2007 02:52 PM
Neither. They are dialog units. If you want pixels then resize the dialog in the ON INIT clause. Example:

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


EMG

Continue the discussion