A Alex_197 Well-Known Member Licensed User Longtime User Jun 26, 2022 #1 Hi all. I've just found a vertical menu AS Popup Menu and I have a question-the example is created as B4XPages project but my app is Default app. Will it work with a regular app? Thanks
Hi all. I've just found a vertical menu AS Popup Menu and I have a question-the example is created as B4XPages project but my app is Default app. Will it work with a regular app? Thanks
Alexander Stolte Expert Licensed User Longtime User Jun 26, 2022 #2 Alex_197 said: Will it work with a regular app? Click to expand... yes Upvote 0
Alexander Stolte Expert Licensed User Longtime User Jun 26, 2022 #3 B4X: 'B4XPage aspm_main.Initialize(Root,Me,"aspm_main") 'None B4XPage aspm_main.Initialize(Page1.RootPanel,Me,"aspm_main") Upvote 0
B4X: 'B4XPage aspm_main.Initialize(Root,Me,"aspm_main") 'None B4XPage aspm_main.Initialize(Page1.RootPanel,Me,"aspm_main")
A Alex_197 Well-Known Member Licensed User Longtime User Jun 26, 2022 #4 Alexander Stolte said: B4X: 'B4XPage aspm_main.Initialize(Root,Me,"aspm_main") 'None B4XPage aspm_main.Initialize(Page1.RootPanel,Me,"aspm_main") Click to expand... Thanks - it works. One more question - only label triggers the open menu event? My idea to reproduce B4A Activity.AddMenuItem in my b4i project. So my questions is - if I add an item into toolbar and then click on this item - will it work? Upvote 0
Alexander Stolte said: B4X: 'B4XPage aspm_main.Initialize(Root,Me,"aspm_main") 'None B4XPage aspm_main.Initialize(Page1.RootPanel,Me,"aspm_main") Click to expand... Thanks - it works. One more question - only label triggers the open menu event? My idea to reproduce B4A Activity.AddMenuItem in my b4i project. So my questions is - if I add an item into toolbar and then click on this item - will it work?
Alexander Stolte Expert Licensed User Longtime User Jun 26, 2022 #5 Alex_197 said: if I add an item into toolbar and then click on this item - will it work? Click to expand... Must have a click event. You execute the code to open the menu. In my apps I have a 3 dot label where I place the menu when I open it. Upvote 0
Alex_197 said: if I add an item into toolbar and then click on this item - will it work? Click to expand... Must have a click event. You execute the code to open the menu. In my apps I have a 3 dot label where I place the menu when I open it.
A Alex_197 Well-Known Member Licensed User Longtime User Jun 26, 2022 #6 Alexander Stolte said: Must have a click event. You execute the code to open the menu. In my apps I have a 3 dot label where I place the menu when I open it. View attachment 130830 Click to expand... Got it - thanks. Upvote 0
Alexander Stolte said: Must have a click event. You execute the code to open the menu. In my apps I have a 3 dot label where I place the menu when I open it. View attachment 130830 Click to expand... Got it - thanks.
Jorge Santamaria Magana Member Sep 7, 2023 #7 @Alex_197 excuse the question, what type of variable is Page1 in a standard application? I try to try aspm_main. initialize(page1.rootpanel,me,"aspm_main") but generates "unknown member" Upvote 0
@Alex_197 excuse the question, what type of variable is Page1 in a standard application? I try to try aspm_main. initialize(page1.rootpanel,me,"aspm_main") but generates "unknown member"
Alexander Stolte Expert Licensed User Longtime User Sep 8, 2023 #8 Jorge Santamaria Magana said: excuse the question, what type of variable is Page1 in a standard application? I try to try aspm_main. initialize(page1.rootpanel,me,"aspm_main") but generates "unknown member" Click to expand... Page1 is B4I only. Use B4XPages for your project and look at my example project. Upvote 0
Jorge Santamaria Magana said: excuse the question, what type of variable is Page1 in a standard application? I try to try aspm_main. initialize(page1.rootpanel,me,"aspm_main") but generates "unknown member" Click to expand... Page1 is B4I only. Use B4XPages for your project and look at my example project.
Jorge Santamaria Magana Member Sep 8, 2023 #9 @Alexander Stolte Thanks, I understand, I'm trying to replicate the example with B4XPages in my default application working for B4A but I could not show the menu, the error must be because the Root variable is not initialized for not using B4XPages, can it be shown in a default application? Upvote 0
@Alexander Stolte Thanks, I understand, I'm trying to replicate the example with B4XPages in my default application working for B4A but I could not show the menu, the error must be because the Root variable is not initialized for not using B4XPages, can it be shown in a default application?
Alexander Stolte Expert Licensed User Longtime User Sep 9, 2023 #10 Jorge Santamaria Magana said: can it be shown in a default application? Click to expand... Yes, but it is tricky. Next time, please make a new thread for questions. Upvote 0
Jorge Santamaria Magana said: can it be shown in a default application? Click to expand... Yes, but it is tricky. Next time, please make a new thread for questions.