X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9487bf1700ed3eb2b4f27782d1c281be09522cc9..9e967d5417d49764276cf121a32c35d5770b1332:/docs/latex/wx/spinctrl.tex diff --git a/docs/latex/wx/spinctrl.tex b/docs/latex/wx/spinctrl.tex index 3fa2ecb4d4..0bd728d8c7 100644 --- a/docs/latex/wx/spinctrl.tex +++ b/docs/latex/wx/spinctrl.tex @@ -19,11 +19,15 @@ wxSpinCtrl combines \helpref{wxTextCtrl}{wxtextctrl} and +\wxheading{Library} + +\helpref{wxCore}{librarieslist} + \wxheading{Window styles} \twocolwidtha{5cm} \begin{twocollist}\itemsep=0pt -\twocolitem{\windowstyle{wxSP\_ARROW\_KEYS}}{The user can use arrow keys.} +\twocolitem{\windowstyle{wxSP\_ARROW\_KEYS}}{The user can use arrow keys to change the value.} \twocolitem{\windowstyle{wxSP\_WRAP}}{The value wraps at the minimum and maximum.} \end{twocollist} @@ -43,6 +47,12 @@ the corresponding events will not be generated under all platforms. Finally, if the user modifies the text in the edit part of the spin control directly, the {\tt EVT\_TEXT} is generated, like for the \helpref{wxTextCtrl}{wxtextctrl}. +When the use enters text into the text area, the text is not +validated until the control loses focus (e.g. by using the TAB +key). The value is then adjusted to the range and a +\helpref{wxSpinEvent}{wxspinevent} sent then if the value +is different from the last value sent. + \wxheading{See also} \helpref{Event handling overview}{eventhandlingoverview},