PRINT_TARGET_IS

PRINT_TARGET_IS N

DESIGNATES THE SYSTEM OBJECT NUMBER N AS THE RECEIVER OF THE "PRINT" COMMANDS

  • Type: Command
  • Parameter: 1
  • Group: System

ACTION

The command PRINT_TARGET_IS N designates the system object number N which will receive the "PRINT" commands. The designated system object must be of type : SCENE3D, EDIT, MEMO, COMBO, FORM, LIST, PICTURE.

The system object becomes the "PRINT target" system object.

By default, the "PRINT target" system object is : FORM number 0.

SYNTAX: PRINT_TARGET_IS N

  • N = system object number (integer or real). Must be greater than 0 and less than or equal to the allowed maximum number of system objects.

USE

  • The command PRINT_TARGET_IS is used to print on a system object which is not FORM number 0.

ERROR

  • If number N is not a correct expression.
  • If number N exceeds the allowed maximum number of system objects.
  • If number N is not greater than 0.
  • If the system object number N does not exist.
  • If number N is not the number of : SCENE3D, EDIT, MEMO, COMBO, FORM, LIST, PICTURE.

EXAMPLE

rem create a picture

picture 1

rem designate this system object as print target

print_target_is 1

rem print on the PICTURE

print "Hello !"

SEE ALSO

EDIT

MEMO

COMBO

FORM

LIST

PICTURE

PRINT

NUMBER_PRINT_TARGET