TreeView Xojo plugin

TreeView.RequestVerticalScrollbar Event

Requests scrollbar from Xojo. This event is only for Linux and is to supply Xojo scrollbar to the TreeView because we cannot embed scrollbar in any recent Linux distro

RequestVerticalScrollbar() as ScrollBar

Parameters

Returns

ScrollBar

Remarks

When giving scrollbar to the TreeView then just place it off screen and set its visible property to false.

Then the event would be like this:


Function RequestVerticalScrollbar() Handles RequestVerticalScrollbar as ScrollBar
    // This event is only used for Linux to supply a Xojo scroll bar because
    // we cannot embed scroll bar at all on Linux.
    return ScrollbarForLinux
End Function


See Also

TreeView Control