touchgfx::ScrollableContainer::enableHorizontalScroll() method
@fn void ScrollableContainer::enableHorizontalScroll(bool enable) Enables horizontal scrolling. By default, scrolling in either direction is enabled, provided that the content is larger than the size of the scrollable container. This function can be used to explicitly (dis)allow scrolling in the horizontal direction, even if the content is larger than the container.
void enableHorizontalScroll(bool enable); Arguments
enable
If true (default), horizontal scrolling is enabled. If false, scrolling is disabled.
Examples
touchgfx::ScrollableContainer::enableHorizontalScroll() is referenced by
1 libraries and example projects.
Data read by touchgfx::ScrollableContainer::enableHorizontalScroll()
Data written by touchgfx::ScrollableContainer::enableHorizontalScroll()
touchgfx::ScrollableContainer::enableHorizontalScroll()