I got the attached pop-up message from the desktop IDE while debugging the following code:
What is an "indicator"?
(I was trying to find out why the IndexOf() method was not yielding the expected result.)
BTW trying to look up Add() in Basic4ppc - Main Help gives a "missing page" error.
Mike.
B4X:
Public Sub MoveMenuToForm(formName As String, moduleName As String)
MainMenuObj.NewMainMenu
MenuItemObj.ControlRef = MainMenuObj.SavedMenuItem(0) 'Switch item
MainMenuObj.AddMenuItem(MenuItemObj.ControlRef)
index = FormsMenuList.IndexOf(formName)
If index > -1 Then
MenuItemObj.ControlRef = MainMenuObj.SavedMenuItem(index + 1)
MainMenuObj.AddMenuItem(MenuItemObj.ControlRef)
End If
MainMenuObj.AddMainMenu(moduleName & "." & formName)
End Sub
What is an "indicator"?
(I was trying to find out why the IndexOf() method was not yielding the expected result.)
BTW trying to look up Add() in Basic4ppc - Main Help gives a "missing page" error.
Mike.