Description

Set or retrieve the maximum number of characters for a column in an edit table control.

Applies to

Edit table.

Syntax

characters = Send_Message(controlID, "COLCHARS", columnno, newvalue)

Parameters

Parameters are as follows.

ParametersDescription
ColumnnoColumn position, beginning from 1. Use 0 to specify all columns.
NewvalueIf columnno > 0, COLCHARS indicates character limit for the column. If columnno is 0, passes an @FM-delimited array of column character limits to replace existing values. Pass null, to leave value intact.

Return value

Maximum number of characters for the specified column(s) (if multiple columns, in an @FM-delimited array).

  • No labels