I have that slider library running and setup on my app. But for some strange reason, things arent being executed or executed properly:
That code works fine, until you get to the last 2 addmenuitems. They dont run..... My Connect/Disconnect is added to the menu. The panel/container slide gets loaded and displayed with those 2 subroutines i call. But then for some reason the last 2 menu items never load...
any ideas?
B4X:
Sub Activity_Create(FirstTime As Boolean)
If FirstTime Then
admin.Initialize("admin")
serial1.Initialize("serial1")
If admin.IsInitialized = False Then
ToastMessageShow("Bluetooth not Installed, Device Unsupported", True)
End If
End If
Activity.Title = "RCSE ScoreAll"
'Initialize the panels we use for the pages and put them in the container
container.Initialize
Activity.SetBackgroundImage(bmp)
Activity.AddMenuItem("Connect","mnuConnect")
Activity.AddMenuItem("Disconnect","mnuDisconnect")
ReadConfig
SetDisplay
'TmrExpired.Enabled = True
DoEvents
'Put in rest of menu items
Activity.AddMenuItem("DIM", "mnuDimming")
Activity.AddMenuItem("Clear Board","mnuClear")
DoEvents
End Sub
That code works fine, until you get to the last 2 addmenuitems. They dont run..... My Connect/Disconnect is added to the menu. The panel/container slide gets loaded and displayed with those 2 subroutines i call. But then for some reason the last 2 menu items never load...
any ideas?