B4J Tutorial Pagination Container

Discussion in 'B4J Tutorials' started by Erel, Mar 19, 2017.

  1. Erel

    Erel Administrator Staff Member Licensed User

    pagination.gif

    The Pagination container (added in B4J v5.0) is similar to TabPane and Accordion. It holds one or more pages. Each page is created from a layout file.

    Code:
    Sub AppStart (Form1 As Form, Args() As String)
       MainForm = Form1
       MainForm.RootPane.LoadLayout(
    "Main")
       Pagination1.LoadLayout(
    "Pane1")
       Pagination1.LoadLayout(
    "Pane2")
       Pagination1.LoadLayout(
    "Pane3")
       MainForm.Show
    End Sub
     

    Attached Files:

    fredo, arastoo, Peter Simpson and 6 others like this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice