PRINT_X_LOCATE

PRINT_X_LOCATE X

DEFINES THE POSITION IN X OF THE NEXT PRINTING BY THE COMMAND PRINT

  • Type: Command
  • Parameter: 1
  • Group: Reference

ACTION

The command PRINT_X_LOCATE X defines the position in X of the next printing by the command PRINT into the "print targeted" system object.

X is expressed in pixels and the origin (0,0) of the coordinates is the upper left corner of the system object.

By default, PRINT writes into FORM number 0, but it can write into the system object number N if the command PRINT_TARGET_IS N has been performed.

The command is active only for system objects FORM and PICTURE.

SYNTAX: PRINT_X_LOCATE X

  • X = X-component value (integer or real) of the position.

USE

  • The command PRINT_X_LOCATE is used to print at a given place on a FROM or a PICTURE.

ERROR

  • If X is not a correct expression.

EXAMPLE

rem print in X=100

print_x_locate 100

print "Hello !"

SEE ALSO

PRINT

PRINT_LOCATE

PRINT_Y_LOCATE

PRINT_TARGET_IS