ScrollArea.EnsureVisible (gb.qt4)
Function EnsureVisible ( X As Integer, Y As Integer, W As Integer, H As Integer [ , Direction As Integer ] ) As Boolean
Ensure that a specific area of the
scrollarea is visible.
The
Direction
argument takes one of the following values:
-
Scroll.Both to allows scrolling in all directions (the default).
-
Scroll.Horizontal to only scroll horizontally.
-
Scroll.Vertical to only scroll vertically.