loop

  1. EstasPerplejo

    Android Question B4x - Loop through Labels in a List

    Hi guys. I encounterd a problem and I can't seem to figure it out. Using B4X 13 on Android 15 I created 3 labels in the designer, added the name of the label-views to a list. Now I want to change the text of each label within a small loop and get an error message... Could someone here give me...
  2. M

    Wish [B4X] ScrollingLabel with different modes

    Hi everyone, how many of you would like to have the ScrollingLabel (in XUI Views) settable in multiple modes? For example i would like to have "Ping Pong" scrolling, instead of the "Loop" scrolling i think it could be an "easy" but cool upgrade for that view :)
  3. Carlos marin

    iOS Question [B4XGifView] has a way to disable looping and control speed in iOS?

    Hi guys, is there a way to replicate what I saw in the following thread but for iOS? I can't find the B4XGifView1.GifDrawable property and would like to have control to start, stop and handle the speed of the gif, i'm loading a gif but it takes longer to reproduce the animation than it should...
  4. J

    Android Question For loop not going for Next

    Hi I have a code like this If ..... Then For i = 0 to List.Size - 1 If ..... Then If .... Then //do something Else //do something End If Else If .... Then //do something Else //do something...
  5. rleiman

    Android Question [SOLVED] - Checking for permissions in B4A results in a continuous loop

    Greetings, I used some of the code from a tutorial for background location checking in my app and the logs statements get stuck in a loop. This is the tutorial and this is the code based on the tutorial I used in my app. Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_READ_PHONE_STATE) Wait...
  6. R

    iOS Question Dim Within A Loop - Why?

    I have noticed this happens occasionally and maybe I should have asked the question earlier. This example applies to B4i but I have also noticed it happening in B4A. Dim ThisPosition As LatLng 'Before the loop Do While Locations.NextRow...
  7. R

    Android Question Exoplayer Loop function

    If u use a Http:// source like Sub Activity_Create(FirstTime As Boolean) If FirstTime Then player1.Initialize("player") Dim sources As List sources.Initialize sources.Add(player1.CreateUriSource("http://192.168.178.16/video/film.mp4")) player1.Prepare(player1.CreateListSource(sources)) Can...
  8. F

    Android Question [SOLVED]Very Slow Loop

    I have a for-loop where I fill with data a string variable (that I have already Created). It takes 6 to 10 secs to complete. Log($"BEFORE loop- $time{DateTime.Now}"$) Dim n As Int = crs.RowCount - 1 Dim lvHtml As String = $"<!DOCTYPE...
  9. P

    B4J Question mysql resultset to xml

    So I'm most likely just being a bit thick today but i can't get my head around how to get this to work; The aim being to have an xml builder populated from a database. 'Handler class Sub Class_Globals Private mreq As ServletRequest 'ignore Private mresp As ServletResponse 'ignore '...
  10. G

    B4J Question Loop No inLabels no Form

    Hello . I need a help how can I loop in all form's Labels (B4j)? ???? For i = 0 to MyForm.GetView ???? log(label.text) Next
Top