


XmTextFieldSetMaxLength(3X)			  XmTextFieldSetMaxLength(3X)
OSF/Motif							    OSF/Motif



NAME
  XXmmTTeexxttFFiieellddSSeettMMaaxxLLeennggtthh - A TextField	function that sets the value of	the
  current maximum allowable length of a	text string entered from the keyboard

SYNOPSIS


  ##iinncclluuddee <<XXmm//TTeexxttFF..hh>>
  vvooiidd XXmmTTeexxttFFiieellddSSeettMMaaxxLLeennggtthh ((_w_i_d_g_e_t,	_m_a_x__l_e_n_g_t_h))
       WWiiddggeett	 _w_i_d_g_e_t;;
       iinntt	 _m_a_x__l_e_n_g_t_h;;

DESCRIPTION
  XXmmTTeexxttFFiieellddSSeettMMaaxxLLeennggtthh 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 XXmmNNvvaalluuee (or
  XXmmNNvvaalluueeWWccss) resource, or the	XXmmTTeexxttFFiieellddSSeettSSttrriinngg (or XXmmTTeexxttFFiieelldd--
  SSeettSSttrriinnggWWccss)	function ignore	this resource.

  _w_i_d_g_e_t Specifies the TextField widget	ID

  _m_a_x__l_e_n_g_t_h
	 Specifies the maximum allowable length	of the text string

  For a	complete definition of TextField and its associated resources, see
  XXmmTTeexxttFFiieelldd((33XX)).

RELATED	INFORMATION
  XXmmTTeexxtt((33XX)), XXmmTTeexxttFFiieellddSSeettSSttrriinngg((33XX)),	and XXmmTTeexxttFFiieellddSSeettSSttrriinnggWWccss((33XX)).




























