IsPaused (Component As Object) As Boolean
Tests whether the given component is paused. Will also return true for components that were not started yet.
Example:
If IsPaused(Main) = False Then CallSub(Main, "RefreshData")
B4A Question B4XPages - ispaused - Marcos Alves    
Feb 19, 2021Hello,
in Android it's possible to know if an Activity is visible using ispaused("ActivityName"). What´s the similar command in B4XPages? I really didn't find in the forum...
link:
1. You can check whether the app is in the foreground with B4XPages.GetManager.IsForeground.
2. You...
link: 1. You can check whether the app is in the foreground with B4XPages.GetManager.IsForeground.
2. You ...
link:
B4XPage_Background - Called when the app is moved to the background. This event will be raised in a...
B4i Question IsPaused Alternative - Mike1970    
Dec 10, 2019Hi, what is the "IsPaused" of B4A alternative for B4i?...
link: If page1.Visible Then
...
End if
Ouh just like this? Cool.
Thanks...
link: If page1.Visible Then
...
End if...
B4A Question isPaused(Activity), but Activity is null - peacemaker    
Nov 27, 2016   
(1 reaction)In my old and complex project i have such errors, when isPaused used with null Activity.
It known by Play Store and Analypics logs, but the error location is unknown.
How can it be ? How to fix ?...
link: others are not disabled. Is it realy trouble ?
make sure you disable all running timers in activity_...
link: Is it realy trouble ?
It is hard to say whether this is the cause for these errors, however it is co...
link: OK, they all are declared correctly, but disabled only in the Main activity (most probable trouble t...
B4J Question [ABMaterial] What is ABMPage.Ispaused ? - alwaysbusy (first post)    
Jan 20, 2020   
(1 reaction)Has not the same functionality as in B4A. ABM has a Page.Pause and Page.Resume (which you can use if e.g. a very long process has to be run on the server and you want to block the page in the browser). Page.IsPaused can be used to check the current state.
Actually I want to update an ABMLabel's text in realtime, but only if this ABMPage is currently displayed.
If the Page object exists...
link: What is property ABMPage.IsPaused for ?
Is it the same purpose as Activity.IsPaused in...
B4A Question IsPaused, Error - Erel (first post)    
Jan 9, 2020Never call ExitApplication. It will kill the process.
If you are not explicitly stopping the starte...
link: Hi,
i use B4A 9.5
@Erel
The user start the App (and StarterService start....), use the app and mak...
link: The Starter service will never be paused. You don't need to check it.
(unless you mistakenly st...
link: Can you reproduce the error or is it just being reported in Crashlytics? How often is it happening?
...
B4A Library [Lib] AnimationPlus - Informatix    
Nov 3, 2021   
(29 reactions)   
tags: B4A, animation-fade between two drawables
for translation animations:
PauseTranslation/ResumeTranslation/IsPaused: new...
B4A Tutorial Service Modules - Erel    
Feb 7, 2023   
(6 reactions)   
tags: Services IsPause to check if the target module is paused.
For example if a service has downloaded some new...
B4A Question Re-Starting app after updating - walterf25    
May 11, 2017.PACKAGE_REPLACED" And IsPaused(Main) Then
Log("restarting main Activity..."...)
End If
End Sub
Sub Service_Destroy
End Sub
Sub MyAppReload
If IsPaused(Main) Then
Log...
B4A Question check if my app is active - peacemaker    
Dec 6, 2018HI, All
Before in small apps i was checking the app status (for toast notifications) such way:
Sub InAppToastOnly(Text As String, LongToast As Boolean)
If IsPaused(Main) = False OR IsPaused(Logs) = False OR IsPaused(About) = False Then
ToastMessageShow(Text, LongToast)
End If
End Sub
So, i have to list all the activities manually.
Notification for the user should be shown only if he is working in my app only.
But now in huge project with tens of activities... maybe any smart variant...
B4A Tutorial FirebaseAdMob and User Consent - Erel    
Jun 22, 2021   
(8 reactions))
Log("EU: " & consent.IsRequestLocationInEeaOrUnknown)
Do While IsPaused(Main...
Page: 1  
2  
3  
4  
5  
6  
7