iOS Question Convert Array Button

MarcoRome

Expert
Licensed User
Longtime User
Hi all, can i convert B4A --> B4i this code:

B4X:
    For i= 0 To 6 'Days name buttons
        btTitre(i).Initialize("")
        btTitre(i).Color=ColInactive
        btTitre(i).Font = Font.DEFAULT_BOLD
        pnlbackGround.AddView(btTitre(i),  (i*mx)+((i+1)*1dip), (2*my)+1dip, mx+2dip, my)
    Next

i see also this code By @klaus ( https://www.b4x.com/android/forum/t...hat-added-programmatically.82335/#post-521607 )

But i dont understand how he can work since if he sees the arry onn he accepts some parameters

upload_2018-3-6_16-10-31.png


Thank you
 
Top