iOS Question Hide scrollbar in customlistview

Discussion in 'iOS Questions' started by Albi, Jun 17, 2015.

  1. Albi

    Albi Active Member Licensed User

    Hello,

    Is it possible to hide the scrollbar in a customlistview?
    I know it's only a thin strip on the right, but when the clv doesn't fill the entire width, the scrollbar is not flush against the right hand side and it doesn't look good.

    Thanks!
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Add this code to the class:
    Code:
    Dim no As NativeObject = sv
    no.SetField(
    "showsVerticalScrollIndicator"false)
     
    Albi likes this.
  3. Albi

    Albi Active Member Licensed User

    thank you kindly. (I was close thanks, to the forum, but not really that close - eg stupidly wasn't doing that in the class module!)
     
Loading...