B4J Tutorial [Web] Beginning Telegram Mini Apps - Back & Settings Buttons - Mashiane    Jul 26, 2024   (2 reactions) Hi Fam The back button controls the visibility & navigation when the back button is active. This is like the normal back button in an app. The settings buttons show on the right menu of the bot. This is demonstrated below. Demo https://youtube.com/shorts/oGRG9_XRXCY We define the buttons Priv B4A Question Back button disappearing while navigating between pages. - LucaMs (first post)    Mar 05, 2022   (1 reaction) The "back button" allows you to return to the calling page; if you remove that page, page 2 in your case, by calling ShowPageAndRemovePreviousPage, you cannot return to it, of course.
Note that, however, if page 2 calls page 1, the back button would return you to page 2, not to the MainPage, becaus B4A Question Resume app - Brian Dean (first post)    Mar 17, 2022   (1 reaction) 3. VERY IMPORTANT - the Android "back button" is a problem. If a player moves from Activity1 to Activity2 then the back button will take them back to Activity1 - this is not whar you want to happen. If they close and restart the app after reaching Activity2 then they will restart in Activity2 and wi B4A Question Back key and home key on the device - Erel (first post)    Sep 22, 2020   (1 reaction) Tip: switch to B4XPages and everything will be simpler.
In non-B4XPages the back button destroys the current activity and the home button pauses the activity and shows the home screen.
In B4XPages the back button hides the current page. Pages are never paused or destroyed. The home button moves the B4A Question Programmatic Page Navigation in B4XPages - doncx (first post)    Apr 09, 2023 Yes, that was my expectation, but the back button almost always continues to work (through the sequence of pages) after calls to . But not always.
The problem with ClosePage() is that though it works on Android, the documentation says it only works on the "top" page in B4i. B4A Question Back button only for change panels - JohnC (first post)    Jun 01, 2020   (1 reaction) Just add this code to the Activity that you want to intercept the back key with:
Sub Activity_KeyPress (KeyCode As Int) As Boolean
Log("Keypress: " & KeyCode)
Select Case KeyCode
Case KeyCodes.KEYCODE_BACK
'....handle the back key event yourself here ...
B4A Question How to press back button programmatically? - Sergey_New (first post)    May 11, 2023 It's a long process :(
The Back button and Activity.Finish close the current Activity, but the previous Activity is opens differently.
The back button performs correctly. B4A Question Button back color - klaus (first post)    Jan 17, 2023   (2 reactions) Declare it as a B4XView then you can set the color with:
Button1.Color = Colors.White
or, if you want a border and corner radii.
Button1.SetColorAndBorder(Colors.White, 1dip, Colors.Black, 10dip)
And to get the color with:
BackColor = Button1.Color B4A Question Captuting Androids back button - consistantly - Erel (first post)    Mar 02, 2022 Pressing on the back button will remove the current page by default. It will move to the home screen if the current page is the only page on the pages stack. B4A Question b4x FileDialog / FileChooser - johnmie (first post)    Mar 12, 2021 Foreget it. I Just discovered that the back button < on the new Android version cancels the dialog without killing the app. However, I'd still prefer to work with the file picker (which would be much easier for the user) if it wasn't for the permission issue. Best, john m. Page: 1   2   3   4   5   6   7   Powered by ColBERT |