CloseMobileContainer()

Syntax

CloseMobileContainer()
Description
Close the current container and go back to the previously opened container. The following commands can create a new container: ContainerMobile(), ToolBarMobile() and AddListMobileItem().

Return value

None.

Example

  If ContainerMobile(#PB_Any, #PB_Mobile_Page)
    If ToolBarMobile(0)
      ButtonMobile(1, "Right", #PB_Mobile_Right)
      TextMobile(#PB_Any, "SpiderBasic App", #PB_Mobile_Center)
      ButtonMobile(2, "Left", #PB_Mobile_Left)
      
      CloseMobileContainer() ; Close the toolbar container and go back to the main page
    EndIf
  
    HtmlMobile("<br><center>Some Text here</center><br>")
    
    CloseMobileContainer()
  EndIf

See Also

ContainerMobile(), ToolBarMobile, AddListMobileItem

Supported OS

All

<- CheckBoxMobile() - Mobile Index - ContainerMobile() ->