vendredi 27 mai 2016

canceled: A FloatingActionMenu index?

I have changed fam.addMenuButton(btn1) to fam.addMenuButton2(btn1, 1), and use

Code:
  Sub showListIndex
For k = 0 To FABs.Size - 1
FABs.Get(k)
Log("List indexes = " & k)
Next

If k = 3 Then
Label1.Text =
"333"
Else If k = 4 Then
Label1.Text =
"444"
Else
Label1.Text =
":bangHead"
End If
End Sub
to Log List1 indexes.

What is the way to get the index and use the index to update Label1?

Thanks in advance.

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/1XWBoqC
via IFTTT

Aucun commentaire:

Enregistrer un commentaire