B4A Question Activity.AddMenuItem - set conditionally each time the activity is resumed - DonManfred (first post)    Jun 20, 2018   (1 reaction) Search appcompat Tutorial about changeable menus B4A Question Activity AddMenuItem not shown - teddybear (first post)    Mar 14, 2022 Sub Activity_Create(FirstTime As Boolean)
Dim p As Phone
p.SetScreenOrientation(1) ' force portrait
Activity.AddMenuItem("About","About")
Activity.AddMenuItem("Contributors","Contrib")
Activity.AddMenuItem("Exit","btnEnd")
Activity.color = Colors.Gray
If FirstTime Then B4A Question Updating from old Table Class to Flex Table Class [SOLVED] - Tim Chapman (first post)    Jan 14, 2024 'This immediately calls the CreateNotification sub. Public Table1Header(7) As String ' Private lblPleaseWait As Label End Sub Sub Activity_Create(FirstTime As Boolean) Log("Activity_Create sub started FIRST TIME") Activity.LoadLayout("Main") 'AddMenuItems must be at the begi B4A Library MyDynamicCalendar - Johan Schoeman (first post)    Apr 16, 2017   (3 reactions) AddMenuItem("Month", "Month")
Activity.AddMenuItem("Month with Events", "MonthWithEvents")
Activity.AddMenuItem("Week", "Week")
Activity.AddMenuItem("Day", "Day")
Activity.AddMenuItem("Agenda", "Agenda")
Activity.AddMenuItem("Today", "Today")
Dim dates() As String = Arr B4A Question Activity.AddMenuItem change text on event - DonManfred (first post)    Aug 01, 2018   (2 reactions) No.
Use appcompat and check the changeable menu tutorial B4A Question [SOLVED] Problem adding menu item - agraham (first post)    May 02, 2023   (1 reaction) If you look at the Intellisense forAddMenuItem and AddMenuItem2 it says it should only be called in Activity_Create. Strangely it is not in the Intellisense for AddMenuItem3, but it does say 'similar to MenuItem2'. The bottom line is that you can't dynamically change the menu items. B4A Question error while loadind tabstrip - Makumbi (first post)    Apr 03, 2020 "mnu5") Activity.AddMenuItem("Home work Download", "mnu6") Activity.AddMenuItem("Get Class Teacher Details", "mnu7") Activity.AddMenuItem("Must Read", "mnu8") Activity.AddMenuItem("Help", "mnu9") ProgressDialogHide Return End If B4A Question [B4X] B4XPages - Main menu - agraham    Jun 12, 2020   (1 reaction) We may be trying to run before we can walk here! For the few apps I write for Android I adopt a very clean (in my opinion :)) aesthetic using only the main menu on the title bar of an activity. This sort of mimics a desktop app with just a main menu bar. I don't like animations and fancy colored t B4A Question [Solved] HowTo show a menu in Android 10? - agraham (first post)    Aug 15, 2020   (1 reaction) This works for me and gives a three vertical dots drop down menu at the top right on the title bar (or whatever it's correctly called).
Activity.AddMenuItem("Open ...", "mnuOpen")
Activity.AddMenuItem("Save", "mnuSave")
Activity.AddMenuItem("Save As ...", "mnuSaveAs")
Activity.AddMen B4A Question Menu not showing on new device. - Peter Simpson (first post)    Aug 21, 2019   (1 reaction) Try something like this @Roger Daley, this is basically the order I used to fix an issue like yours that I was having.
Something like this...
Activity.LoadLayout("<LAYOUT FILE...>")
ActivityTitle = "<TITLE>"
Activity.AddMenuItem("A", "AA")
Activity.AddMenuItem("B", "BB")
Acti Page: 1   2   3   4   5   6   7   Powered by ColBERT |