b4xpages

  1. rleiman

    Android Question [SOLVED] - B4XPages - Loading layouts

    Greetings, I just migrated a working non-B4XPages app over to B4XPages because CallSubDelayed was not working correctly when the old app did not have focus. I was advised to migrate to B4XPages. That issue has been resolved just by doing the migration. It seems that loading layouts is done...
  2. rleiman

    Android Question [SOLVED] - B4XPages attributes

    Greetings, Please pardon this stupid question. I'm transactioning a non- B4XPages app to B4XPages. What's the B4XPages equivalent to these attributes or how do I implement them in B4XPages? I get an error that tells me that non of these attributes are supported. #Region Project Attributes...
  3. P

    B4J Question [B4XPages] - Using FileChooser

    Hi to all Which is the correct way to use FileChooser with B4Xpages? I made a small app with B4J that has only one page (B4XMainPage). When showing FileChooser, you need to pass the 'owner as Form' parameter, but i did not find a way to pass this parameter, I get an error whatever I indicate...
  4. DroidLyon

    Android Question B4xPages B4xDrawer example leftpanel not covering actionbar

    Hi All In the example given here and using B4A 10.2 I see that the left drawer does not cover the Centerpanel Page 2 Actionbar when you click the hamburger. The example for B4xdrawer does - see here I have search the forum, can see differences in the manifest, use of appcompat, it may be my...
  5. mcorbeel

    B4J Question javafx error when running B4XPages tutorial

    I followed the steps as shown in the B4XPages video tutorial, but it gives error. Created new B4J project, then > file > new > B4XPages > and run and I get: B4J Version: 8.50 Java Version: 8 Parsing code. (0.01s) Building folders structure. (0.01s) Running custom action. (0.04s)...
  6. A

    iOS Question [solved] B4XPages - B4XPage_Appear crash

    Hi All, I am trying to set the text for B4XFloatTextField in B4XPage_Appear but it crashes with the stack in the code block below. I understand that when a page appear the events that will raise is B4XPage_Created then B4XPage_Appear, so I am tryin to use B4XPage_Appear since my data is coming...
  7. LucaMs

    Android Question [Solved] B4XPages - ClosePage error

    Sub Class_Globals Private Root As B4XView Private xui As XUI Public Page2 As pag2 End Sub Public Sub Initialize Page2.Initialize End Sub 'This event will be called once, before the page becomes visible. Private Sub B4XPage_Created (Root1 As B4XView) Root = Root1...
  8. vfafou

    Android Question [B4XPages] Question about user closing from task manager.

    Hello! I have noticed that when I close the B4XPages app from android task manager, the app is still working in the background. If we don't use B4XPages, the activity has the UserClosed parameter at Activity_Pause and when the user closes the app from task manager the value is True. My question...
  9. LucaMs

    Android Question [Closed] B4XPages - ThreePagesExample - Private Page

    In the ThreePagesExample, B4XPage2, there is: Sub Class_Globals ' ... Private Page3 As B4XPage3 End Sub Private Sub B4XPage_Created (Root1 As B4XView) ' ... Page3 = B4XPages.GetPage("Page 3") ' ... End Sub This way Page3 won't be a private instance of B4XPage3 or am I...
  10. W

    iOS Question [B4XPages] How to change text color of the ActionBar

    Hi: I been able to change the background color of the ActionBar: Dim no As NativeObject = NavControl no.GetField("navigationBar").RunMethod("setBarTintColor:", Array(no.ColorToUIColor(Colors.aRGB(255,0xd8d,0x29,0x29)))) ' #FF8D2929 And the Text content...
  11. LucaMs

    Other B4XPages - accessing pages

    This is meant to be a suggestion, almost a trick; I don't know where I should write it. The method to obtain a reference to a B4XPage is: Dim Page As clsMyPage = B4XPages.GetPage("PageId") As you can see in the ThreePagesExample project, the two "extra" pages, Page2 and Page3, are declared...
  12. LucaMs

    Android Question [Solved] B4XPages - Root is animated

    I get an ugly effect when showing a B4XPages. I set the layout Animation duration to 0ms, but I think that the Root Pane(l) is animated. I tried: Private Sub B4XPage_Created (Root1 As B4XView) Root1.SetLayoutAnimated(0, Root1.Left, Root1.Top, Root1.Width, Root1.Height) Root = Root1...
  13. LucaMs

    Wish B4XPages.ShowPage2(MyPage)

    B4XPages.ShowPage2(MyPage) where MyPage is a B4XPage (B4XPages.ShowPage requires a B4XPage string identifier, as you know).
  14. rleiman

    Android Question [SOLVED] - Anchors seem to be ignored when using SetLayoutAnimated

    Greetings, I started to experiment with B4XPages and really like them. I also used SetLayoutAnimated to slide a layout called pnlWhiteDialog into view. It slides into view as expected but the alignment of the views on the layout are not being displayed as expected. For example I have a Label...
  15. Star-Dust

    Android Example [B4X] [B4XPages] FirebasePush + FirebaseAuth

    Today for the first time, I started messing with B4XPages and Firebase. Even though I had already watched B4XPages, I hadn't fumbled to understand better. The hardest thing was Firebase, configuration and settings, especially with iOS. (Traumatic , certificates, profiles, keys ....) I noticed...
  16. mcqueccu

    B4J Question [SOLVED] B4XPages how to move borderless form

    Finally, am starting a new project with B4J. Even though its just a B4J (desktop application), i still want to use B4XPages. This is my very First Attempt in B4Xpages. My question is how do i access click event for mainform like this Mainform_MousePressed (EventData As MouseEvent) or how do i...
  17. M

    Android Question [B4XPages] How know if a page already exist ?

    Hi, I'm converting my app to B4XPages and i want to know if a page already exist ,is there a way to do it? Dim MyPage As B4XMyPage MyPage.Initialize if B4xPages.PageExist("MyPage") then MyPage = B4xPages.GetPage("MyPage") else B4XPages.AddPageAndCreate("MyPage",MyPage) end if Regards
  18. Chris Guanzon

    Android Question How to handle Activity_Keypress with animation

    How to handle Activity_Keypress with custom animation in b4xpage?
  19. Lucas Siqueira

    B4A Library [B4X] BR_B4XFloatTextField

    Hello everyone! With the example of Erel library and with the help of Biswajit, we made some modifications to the original B4XFloatTextField library, recreating it with some modifications in the visual transforming into BR_B4XFloatTextField. See how the example looked: Note: I have no iphone to...
  20. a6000000

    I want The MqttChat Example in [B4XPages] with runtime permissions

    I want The MqttChat Example in [B4XPages] with runtime permissions Mqtt Example https://www.b4x.com/android/forum/threads/mqtt-chat-with-auto-discovery.75713/ 4 or more Modules: [Main] - [B4XMainPage maybe a start button to Layout1] - [PageLayout1] - [PageLayout2] -...
Top