- Jun 6, 2020
- 11,559
- 4,422
In my opinion it is very useful and good user experience, to organize all options in a context menu of an page (loosing space for buttons only for the main options).
In B4A you can do it with B4XPages.AddMenuItem(Me, "Option 1"), ... With B4XPages you can almost use the same code for B4A and B4i , but in this case it will not work with B4i , and we need a view lines of extra code here.
First for the in page loaded view with B4i Designer edit Button Top Right #1: "Button Type" =Text, "Tag" = "menu", "Text" = "...", "Size" = 32
B4X:
In B4A you can do it with B4XPages.AddMenuItem(Me, "Option 1"), ... With B4XPages you can almost use the same code for B4A and B4i , but in this case it will not work with B4i , and we need a view lines of extra code here.
First for the in page loaded view with B4i Designer edit Button Top Right #1: "Button Type" =Text, "Tag" = "menu", "Text" = "...", "Size" = 32
B4X:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید