Index Click this button to go to the index for this section.


DXmCSTextSetMaxLength(3X)

NAME

DXmCSTextSetMaxLength - Sets the maximum allowable length of the text in the compound string text widget.

SYNOPSIS

void DXmCSTextSetMaxLength(widget, max_length) Widget widget; int max_length;

PARAMETERS

widget The identifier (widget ID) of the compound string text widget. max_length An integer that represents the maximum length, in characters, of the text in the compound string text widget. This parameter sets the XmNmaxLength resource used by the DXmCreateCSText routine.

DESCRIPTION

The DXmCSTextSetMaxLength routine sets the maximum allowable length of the text in the compound string text widget. It prohibits the user from entering text longer than this limit.

RELATED INFORMATION

DXmCreateCSText(3X), DXmCSTextGetMaxLength(3X)