documented SetMaxLength(0)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -527,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}
|
control. In other words, it allows to limit the text value length to {\it len}
|
||||||
not counting the terminating {\tt NUL} character.
|
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
|
If the user tries to enter more characters into the text control when it
|
||||||
already is filled up to the maximal length, a
|
already is filled up to the maximal length, a
|
||||||
{\tt wxEVT\_COMMAND\_TEXT\_MAXLEN} event is sent to notify the program about it
|
{\tt wxEVT\_COMMAND\_TEXT\_MAXLEN} event is sent to notify the program about it
|
||||||
|
Reference in New Issue
Block a user