Dialog units for "DEFINE DIALOG"

Post Reply
alexstrickland
Posts: 23
Joined: Thu Aug 30, 2007 8:52 am

Dialog units for "DEFINE DIALOG"

Post by alexstrickland »

If I wish to create a dialog into which these two fields will fit:

@ 10, 10 SAY cVar1 VAR oVar1 OF oDlg SIZE 50, 10 PIXEL
@ 20, 10 SAY cVar2 VAR oVar2 OF oDlg SIZE 50, 10 PIXEL

what calculation can I use to decide the dimensions nY and nX to use in :

DEFINE DIALOG oDlg FROM 0, 0 TO nY, nX TITLE "Dialog" PIXEL ?

In another way my question is what units do I use for the "DEFINE DIALOG"?

It does not seem to be straight forward (like 30 and 50, even if that would be a bit small).

TIA
Alex
alexstrickland
Posts: 23
Joined: Thu Aug 30, 2007 8:52 am

Post by alexstrickland »

Enrico

Thank you, a clever tip, it makes things really quite simple.

Regards
Alex
Post Reply