Skip to content
Search

WxSlider

lastmod 2018-08-17created 2015-03-124 edits

EVENT COMMAND

EVT_COMMAND_SCROLL_THUMBTRACK(id, func)
Process wxEVT_SCROLL_THUMBTRACK thumbtrack events (frequent events sent as the user drags the thumbtrack).
In other words, it is called when the user moves the Thumb. In this case, you can find the Thumb's position with GetValue().

Hide value label

If you add wxSL_LABELS to the style parameter of the wxSlider constructor, the Slider Value and the Min and Max values are shown at the top. To remove only the Value, add wxSL_MIN_MAX_LABELS instead.

See also

Favorite site