You could always look inside an existing b4xlib and see the comments there. However I'll save you the trouble. Use <code> tags like GetPage from B4XPages.
B4X:
'Returns the page instance. You should cast it to the correct type.
'Example:<code>
'Dim page2 As B4XPage2 = B4XPages.GetPage("Page2")</code>
Public Sub GetPage (Id As String) As Object
Return GetManager.GetPage(Id)
End Sub
Just to make sure it's clear, you can also write it as follows (it's neater and more readable):
B4X:
'Returns the page instance. You should cast it to the correct type.
'Example:
'<code>
'Dim page2 As B4XPage2 = B4XPages.GetPage("Page2")
'</code>
Public Sub GetPage (Id As String) As Object
Return GetManager.GetPage(Id)
End Sub
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.