X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ce2f50e34a191c323781d4a86aa333b9571b8d76..4c7852186d48a5b8f406462c2c3fa020f0a052bb:/docs/latex/wx/text.tex diff --git a/docs/latex/wx/text.tex b/docs/latex/wx/text.tex index e6dc093d12..724f33a98c 100644 --- a/docs/latex/wx/text.tex +++ b/docs/latex/wx/text.tex @@ -83,6 +83,11 @@ when the text controls contents changes - whether this is due to user input or comes from the program itself (for example, if SetValue() is called)} \twocolitem{{\bf EVT\_TEXT\_ENTER(id, func)}}{Respond to a wxEVT\_COMMAND\_TEXT\_ENTER event, generated when enter is pressed in a single-line text control.} +\twocolitem{{\bf EVT\_TEXT\_URL(id, func)}}{A mouse event occured over an URL +in the text control (Win32 only)} +\twocolitem{{\bf EVT\_TEXT\_MAXLEN(id, func)}}{User tried to enter more text +into the control than the limit set by +\helpref{SetMaxLength}{wxtextctrlsetmaxlength}.} \end{twocollist}% %\wxheading{See also} @@ -522,6 +527,10 @@ This function sets the maximum number of characters the user can enter into the control. In other words, it allows to limit the text value length to {\it len} not counting the terminating {\tt NUL} character. +If {\it len} is $0$, the previously set max length limi, if any, is discarded +and the user may enter as much text as the underlying native text control +widget supports (typically at least 32Kb). + If the user tries to enter more characters into the text control when it already is filled up to the maximal length, a {\tt wxEVT\_COMMAND\_TEXT\_MAXLEN} event is sent to notify the program about it