EnvTextLineCount()

Returns the number of lines in a current message box (must have input focus); 1, if empty.

Token ID

AFTKN_TEXTENTRY_GET_LINE_COUNT or 657

Syntax

WORD EnvTextLineCount()

Return Values

WORD

Number of lines.

Remarks

The message body field (in the Message View and the Object API) has a limit of 32,000 characters. The Message View will stop accepting data after 32,000 characters.