The Print method of the Form or _screen shows only one parameter (the text to print) is accepted. Furthermore, the property sheet, documentation and intellisense show only the one parameter. However, more parameters are accepted as demonstrated by this code:

 

CLEAR

PUBLIC x

x=NEWOBJECT("tform")

x.visible=1

DEFINE CLASS tform as Form

      PROCEDURE init

            FOR i = 1 TO 10

                  IF .t.

                        thisform.Print(TRANSFORM(i),20*i,20*i)

                  ELSE

                        thisform.CurrentX=20*i

                        thisform.CurrentY=20*i

                        thisform.Print(TRANSFORM(i))

                  ENDIF

            ENDFOR

ENDDEFINE

 

 

The 2nd and 3rd parameters are optional and specify the x,y coordinate at which to print the string.