iOS Question TableView scroll function ?

Discussion in 'iOS Questions' started by little3399, Jun 10, 2015.

  1. little3399

    little3399 Active Member Licensed User

    Hi,

    I know the Listview can using SetSelection to make an item visible (which will cause the listview to scroll), but in B4I which funciont is the same ?
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    TableView.ScrollTo
     
  3. little3399

    little3399 Active Member Licensed User

    Hi ,Erel
    Could you give me some demo code to explain this TableView.scrollto how to using ? Tks!
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    This will try to put the sixth item in the middle:
    Code:
    TableView1.ScrollTo(05, TableView1.SCROLL_MIDDLE)
     
  5. little3399

    little3399 Active Member Licensed User

    Tks , Erel

    But in my case ,the Tableview.scrollto , is seem not to work ?
     

    Attached Files:

    Last edited: Jun 10, 2015
Loading...