|
|
DwtCSTextSetMaxLength(3Dwt) DwtCSTextSetMaxLength(3Dwt) Name DwtCSTextSetMaxLength - Sets the maximum allowable length of the text in the compound-string text widget. Syntax void DwtCSTextSetMaxLength(widget, max_length) Widget widget; int max_length; Arguments widget Specifies the ID of the compound-string text widget. max_length Specifies the maximum length, in characters, of the text in the compound string text widget. This argument sets the DwtN- maxLength attribute associated with DwtCSTextCreate. Description The DwtCSTextSetMaxLength function sets the maximum allowable length of the text in the compound-string text widget and prevents the user from entering text longer than this limit. See Also DwtCSText(3Dwt), DwtCSTextCreate(3Dwt), DwtCSTextReplace(3Dwt), DwtCSTextSetString(3Dwt), DwtCSTextGetEditable(3Dwt), DwtCSTextSetEd- itable(3Dwt), DwtCSTextGetMaxLength(3Dwt), DwtCSTextSetSelection(3Dwt), DwtCSTextGetSelection(3Dwt) Guide to the XUI Toolkit: C Language Binding Guide to the XUI Toolkit Intrinsics: C Language Binding DwtCSTextSetMaxLength(3Dwt)