b4xpages

  1. Joey249

    Android Question [B4X] [XUI] Issue with xCustomListView with TextChanged event

    I've added in my custom controls as followed from Erel's Tutorial, everything is working as expected but when I try and grab the controls from a TextChanged event B4xpages always crashes with an error message. The code i'm trying to use works perfectly in other areas, it just has an issue with...
  2. Q

    Android Question B4XPages

    I need multipage layout, so I have a look into B4XPages. What I cannot grasp is how I create many pages in Designer? If I have create each and every label and button programmatically would it be by far easier to make them visible or not visible? Thanks Serg
  3. K

    Android Question Log Out

    Hello everyone! I'm building an android app with B4X and I want to create a Log Out Button on every screen. The way I thought of it to work is this: Call the LogIn page (B4XPages.ShowPage("MainPage")) The page that the user was on disappears. the B4XPage_Disappear() Sub is called. In that...
  4. A

    Android Question Canvas issue resolved

    In my "Strange behavior of Canvas" post, which is now closed: https://www.b4x.com/android/forum/threads/strange-behavior-of-canvas.147779/ a problem with the operation of Canvas has been described. My project was created without using B4XPages. Mr. Erel advised me to move on to building the...
  5. james_sgp

    iOS Question iOS - Protected PDF`s, in B4xPages

    I'm going insane trying to get this working, I just want to open a protected PDF (password to view) and have it zoomable; but i can't get anything to work. I`ve tried all these and non-work to open the PDF and allow it to be zoomable: 1. Open PDF directly in WebView : gives error loading...
  6. P

    Android Question B4XPages and xCustomListView - "Object should first be initialized (B4XView)"

    Hi - I have moved the CustomListView code from the CLVExample into a new B4XPage class in the same project (as I want the listview in a page that isn't the main page), however I am receiving and error. Where have I gone wrong? Sub Class_Globals Private Root As B4XView Public...
  7. james_sgp

    Android Question B4xpages problem, Java code

    Hi, I have the following code working fine in a non B4xpages app, but trying to use it in a B4xpages app I`m getting an error. The code is: Sub GetRndNonRepeatingList(lSize As Int, rnMin As Int, rnMax As Int) As List Dim llist As List Dim nr As Int llist.Initialize Private...
  8. R

    Android Question Problem with B4XPages.Delegate.Activity_Resume

    In a B4XPages project I am downloading map tiles in a Sub in a non-B4XPage class (clsMapTileManager). This can be a long process, so I am trying to keep it going with PhoneWakeState and PartialLock. This works for a while, but eventually the process is interrupted by the OS and that triggers in...
  9. R

    Android Question B4XPages.GetManager.mStackOfPageIds

    I understand that this returns an ordered B4XSet with the current stack of pages, but I wonder what exactly "current stack of pages" means. If a page is closed by pressing the Android < button then that page doesn't show in the above list, but it must exist in some form as I don't have to load...
  10. G

    Android Question B4xpages does not allow Customview

    In b4xmainpage the designer has Customview in light gray, I cannot add one. Pls help!
  11. E

    Android Question B4XPages and Scrollview

    I didn't find any topic or tutorial on how to use Scrollview with B4XPages on the forum. Could someone please help.
  12. universengo

    B4J Question Problem with menubar to load layout [B4Xpage Project]

    Hello experts! I'm a newbie, looking for some help. I use B4XPages Project to create an app with 1 main layout with menubar and sub-layouts corresponding to click menus. For each layout, I create a corresponding B4Xpage module class to easily name components and code commands. The problem is: 1)...
  13. R

    Android Question B4XPages and custom menubar

    Just started with B4XPages and added a simple custom menubar, not based on the built-in Android menubar, but based on layouts with panels, labels and buttons. As far as I understand most apps will access the built-in menubar in some form, but I may have this wrong. In my old, non-B4xPages app...
  14. DarkoT

    B4J Question TabPane - how to open B4xPage inside of TabPane

    Hi to all with all best wishes for 2023... I need suggestion how to open different pages inside of tabpane; each modul should create new "tab" wich has same controls (buttons, label names, ...). Any suggestion - how to open b4xpage inside of TabPane?
  15. R

    Android Question B4XPages and ResumableSub

    Just starting with B4XPages and noticed that ResumableSub is not behaving the same as in a non B4XPages project. In an activity based project I can run this from Main with no problem: Dim rs As ResumableSub = CSV2List(File.DirRootExternal & "/PhonePats", "menu_props2.csv", True, 44, 34...
  16. C

    Wish B4XPages under the hood

    Hello, This is a wish. When B4Xpages has become the universal way of programming, it became more difficult for me to use the examples in the forum, as they as sometimes based on the original b4j UI. I would like to learn more about how B4Xpages works "under the hood", to have a better...
  17. C

    B4J Question B4X GameViewHelper.AddKeyListener

    Hello, Based on the game example, it is possible to capture keypresses using : GameViewHelper.AddKeyListener("GVH", Main.MainForm) How can I use this in B4Xpages? What parameter do I need to pass to link my form? B4XPages.MainPage or Root doesn't work. The example of Erel...
  18. R

    Android Question How to make this menu with B4XPages

    Thinking about finally moving to B4XPages, but not sure what to do with the menu. I am using AppCompat and Droppy (DonManfred) for the overflow menu items: https://www.b4x.com/android/forum/threads/droppy-dropdown-menu.81918/ All my screens are based on a panel and showing those screens is done...
  19. J

    Android Question B4XPages without titlebar

    Is it possible to display the pages without the title bar?
  20. MarcRB

    Android Question Changing orientation causes B4Xpages go back to first page.

    I think it is normal behaviour, that at the moment the user rotates the phone, the first B4Xpage in pagestack will be shown. But is it possible to change that behaviour? At the first page there was a login and at second page a dashboard. The third page contains some fields and a editable...
Top