anOparator Active Member Licensed User Longtime User May 23, 2016 #1 I have changed fam.addMenuButton(btn1) to fam.addMenuButton2(btn1, 1), and use Code: Copy 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. Attachments FAM FAB.zip FAM FAB.zip 9.3 KB · Views: 459
I have changed fam.addMenuButton(btn1) to fam.addMenuButton2(btn1, 1), and use Code: Copy 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.
anOparator Active Member Licensed User Longtime User May 25, 2016 #2 my question probably is: How do i get the index number from this method, 'AddMenuButton2(fab As FloatingActionButton, index As Int)' when clicking each fab? Or is there a tutorial on this kind of method which has "index" as the second arg? Upvote 0
my question probably is: How do i get the index number from this method, 'AddMenuButton2(fab As FloatingActionButton, index As Int)' when clicking each fab? Or is there a tutorial on this kind of method which has "index" as the second arg?
anOparator Active Member Licensed User Longtime User May 27, 2016 #3 just found ViewAnimatorEx Upvote 0