Public Sub SetVerticalScrollBarEnabled(Enabled As Boolean)
Dim r As Reflector
r.Target = sv
r.RunMethod2("setVerticalScrollBarEnabled", Enabled, "java.lang.boolean")
End Sub
Public Sub SetVerticalScrollBarEnabled(Enabled As Boolean)
Dim r As Reflector
r.Target = sv
r.RunMethod2("setVerticalScrollBarEnabled", Enabled, "java.lang.boolean")
End Sub
Its name confuses; it does not lock the scrollbar but set it to visible/invisible.
I named the routine as the method used but it would be better: SetVerticalScrollBarVisibility.
Its name confuses; it does not lock the scrollbar but set it to visible/invisible.
I named the routine as the method used but it would be better: SetVerticalScrollBarVisibility.