A andrewtheart Member Licensed User Longtime User Sep 30, 2013 #1 I put a breakpoint on the StartActivity line, and it's never reached, after I click the Settings menu item. Seems like this shouldn't be a problem... Code: Copy Sub Activity_Create(FirstTime As Boolean) ... Activity.AddMenuItem("Settings","SettingsMenuItemClick") End Sub Sub SettingsMenuItemClick StartActivity(screen.CreateIntent) End Sub
I put a breakpoint on the StartActivity line, and it's never reached, after I click the Settings menu item. Seems like this shouldn't be a problem... Code: Copy Sub Activity_Create(FirstTime As Boolean) ... Activity.AddMenuItem("Settings","SettingsMenuItemClick") End Sub Sub SettingsMenuItemClick StartActivity(screen.CreateIntent) End Sub
thedesolatesoul Expert Licensed User Longtime User Sep 30, 2013 #2 No, it should be like this: Code: Copy Sub SettingsMenuItemClick_Click Upvote 0
A andrewtheart Member Licensed User Longtime User Sep 30, 2013 #3 Oh. Interesting that you can't call a method with whatever name you want. Thanks! Upvote 0
thedesolatesoul Expert Licensed User Longtime User Sep 30, 2013 #4 andrewtheart said: Oh. Interesting that you can't call a method with whatever name you want. Thanks! Click to expand... You can, but you only set the prefix. The suffix is the event name for e.g. _Click, _LongClick, _Touch etc. Upvote 0
andrewtheart said: Oh. Interesting that you can't call a method with whatever name you want. Thanks! Click to expand... You can, but you only set the prefix. The suffix is the event name for e.g. _Click, _LongClick, _Touch etc.