Partager via


Print Method

Prints a character string on a form.

 [FormSet.] Object.Print [(cText)]

Parameters

  • cText
    Specifies the character string to print. If you omit cText, a blank line is printed.

    cText is printed on the form starting at the position specified by the CurrentX and CurrentY properties. When a carriage return is included, CurrentX is increased by the width of cText (same as the value returned by TextWidth) and CurrentY remains unchanged.

    When the Print method is finished, the CurrentX and CurrentY properties are set to the point immediately after the last character printed.

    Note   This method is not supported if BITMAP=OFF.

See Also

CurrentX, CurrentY Properties | TextHeight Method | TextWidth Method

Applies To: Form | _SCREEN