'\" t .\" TxtFieBD.sgm /main/8 1996/09/08 21:15:38 rws $ .de P! .fl \!!1 setgray .fl \\&.\" .fl \!!0 setgray .fl \" force out current output buffer \!!save /psv exch def currentpoint translate 0 0 moveto \!!/showpage{}def .fl \" prolog .sy sed -e 's/^/!/' \\$1\" bring in postscript file \!!psv restore . .de pF .ie \\*(f1 .ds f1 \\n(.f .el .ie \\*(f2 .ds f2 \\n(.f .el .ie \\*(f3 .ds f3 \\n(.f .el .ie \\*(f4 .ds f4 \\n(.f .el .tm ? font overflow .ft \\$1 .. .de fP .ie !\\*(f4 \{\ . ft \\*(f4 . ds f4\" ' br \} .el .ie !\\*(f3 \{\ . ft \\*(f3 . ds f3\" ' br \} .el .ie !\\*(f2 \{\ . ft \\*(f2 . ds f2\" ' br \} .el .ie !\\*(f1 \{\ . ft \\*(f1 . ds f1\" ' br \} .el .tm ? font underflow .. .ds f1\" .ds f2\" .ds f3\" .ds f4\" .ta 8n 16n 24n 32n 40n 48n 56n 64n 72n .TH "XmTextFieldSetMaxLength" 3 .SH "NAME" \fBXmTextFieldSetMaxLength\fP \(em A TextField function that sets the value of the current maximum allowable length of a text string entered from the keyboard "XmTextFieldSetMaxLength" "TextField functions" "XmTextFieldSetMaxLength" .SH "SYNOPSIS" .PP .nf #include \fBvoid \fBXmTextFieldSetMaxLength\fP\fR( \fBWidget \fBwidget\fR\fR, \fBint \fBmax_length\fR\fR); .fi .SH "DESCRIPTION" .PP \fBXmTextFieldSetMaxLength\fP sets the value of the current maximum allowable length of the text string in the TextField widget\&. The maximum allowable length prevents the user from entering a text string from the keyboard that is larger than this limit\&. Strings that are entered using the \fBXmNvalue\fP (or \fBXmNvalueWcs\fP) resource, or the \fBXmTextFieldSetString\fP (or \fBXmTextFieldSetStringWcs\fP) function ignore this resource\&. .IP "\fIwidget\fP" 10 Specifies the TextField widget ID .IP "\fImax_length\fP" 10 Specifies the maximum allowable length of the text string .PP For a complete definition of TextField and its associated resources, see \fBXmTextField\fP(3)\&. .SH "RELATED" .PP \fBXmText\fP(3), \fBXmTextFieldSetString\fP(3), and \fBXmTextFieldSetStringWcs\fP(3)\&. .\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:34