X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f4fcc2919776cffa5e3b2f0d44dd24c41e652ff4..d83eeece0ee86a3ad81096d894a560647cef0d3a:/docs/latex/wx/scrolbar.tex diff --git a/docs/latex/wx/scrolbar.tex b/docs/latex/wx/scrolbar.tex index f1c745a7e6..955134b7bc 100644 --- a/docs/latex/wx/scrolbar.tex +++ b/docs/latex/wx/scrolbar.tex @@ -49,22 +49,7 @@ to the size of the window and the size of the data. See also \helpref{window styles overview}{windowstyles}. -\wxheading{Event handling} - -To process input from a scrollbar, use one of these event handler macros to direct input to member -functions that take a \helpref{wxScrollEvent}{wxscrollevent} argument: - -\twocolwidtha{7cm} -\begin{twocollist} -\twocolitem{{\bf EVT\_COMMAND\_SCROLL(id, func)}}{Catch all scroll commands.} -\twocolitem{{\bf EVT\_COMMAND\_SCROLL\_TOP(id, func)}}{Catch a command to put the scroll thumb at the maximum position.} -\twocolitem{{\bf EVT\_COMMAND\_SCROLL\_BOTTOM(id, func)}}{Catch a command to put the scroll thumb at the maximum position.} -\twocolitem{{\bf EVT\_COMMAND\_SCROLL\_LINEUP(id, func)}}{Catch a line up command.} -\twocolitem{{\bf EVT\_COMMAND\_SCROLL\_LINEDOWN(id, func)}}{Catch a line down command.} -\twocolitem{{\bf EVT\_COMMAND\_SCROLL\_PAGEUP(id, func)}}{Catch a page up command.} -\twocolitem{{\bf EVT\_COMMAND\_SCROLL\_PAGEDOWN(id, func)}}{Catch a page down command.} -\twocolitem{{\bf EVT\_COMMAND\_SCROLL\_THUMBTRACK(id, func)}}{Catch a thumbtrack command (continuous movement of the scroll thumb).} -\end{twocollist}% +\input scrolevt.inc \wxheading{See also} @@ -230,7 +215,7 @@ Sets the position of the scrollbar. \func{virtual void}{SetScrollbar}{\param{int }{position},\rtfsp \param{int }{thumbSize}, \param{int }{range},\rtfsp \param{int }{pageSize},\rtfsp -\param{const bool }{refresh = TRUE}} +\param{const bool }{refresh = true}} Sets the scrollbar properties. @@ -246,7 +231,7 @@ Sets the scrollbar properties. the scrollbar will scroll when it is paged up or down. Often it is the same as the thumb size.} -\docparam{refresh}{TRUE to redraw the scrollbar, FALSE otherwise.} +\docparam{refresh}{true to redraw the scrollbar, false otherwise.} \wxheading{Remarks}