touchgfx::ScrollableContainer::enableVerticalScroll() method
@fn void ScrollableContainer::enableVerticalScroll(bool enable) Enables the vertical scroll. Enables the vertical scroll. 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 vertical direction, even if the content is larger than the container.
void enableVerticalScroll(bool enable); Arguments
enable
If true (default), vertical scrolling is enabled. If false, scrolling is disabled.
Data read by touchgfx::ScrollableContainer::enableVerticalScroll()
Data written by touchgfx::ScrollableContainer::enableVerticalScroll()
touchgfx::ScrollableContainer::enableVerticalScroll()