LineLength

>>-anEditControl~LineLength(--line--)--------------------------><


The LineLength method retrieves the number of characters contained in the line in the associated edit control.

Arguments:

The only argument is:

line

The number of the line of which the number of characters is to be retrieved. Line numbers are incremented by 1, starting with 1.

Return value:

The length of the given line.

Example:

For an example, refer to LineIndex.