ButtonMobile - constants #PB_Mobile_Center, #PB_Mobile_Right
Posted: Mon Jul 01, 2024 9:45 am
is this possible to use ButtonMobile the constants #PB_Mobile_Center, #PB_Mobile_Right to work without ToolBarMobile container
Code: Select all
If ContainerMobile(#PB_Any, #PB_Mobile_Page, "margin:8px")
ButtonMobile(0, "Click me")
HtmlMobile("<br><br>")
ButtonMobile(1, "Click me too !", #PB_Mobile_Right)
CloseMobileContainer()
EndIf
Procedure MobileEvents()
Select EventMobile()
Case 0
Debug "Button 0 clicked !"
Case 1
Debug "Button 1 clicked !"
EndSelect
EndProcedure
BindEvent(#PB_Event_Mobile, @MobileEvents())