Hi, I'm using Infomatix' Class Checklist. The code below is what I'm trying to modify in the class to animate (blink) the label lblB
My trouble is I don't know how/where to access lblB in order to use the function like a.Start(lblB) from main, please give guidance.
Advance thank you for the time
B4X:
Public Sub AddHeader(Text As String)
Dim pnlH As Panel: pnlH.Initialize("")
Dim lblB As Label: lblB.Initialize("")
Dim cdH As ColorDrawable
cdH.Initialize(Colors.ARGB(100, 30, 30, 30), 10)
lblB.Background = cdH
lblB.Text = " " & Text
lblB.TextColor = Colors.Yellow
lblB.TextSize = 30
lblB.Typeface = Typeface.DEFAULT_BOLD
lblB.Gravity = Gravity.CENTER_VERTICAL
lblB.Gravity = Gravity.Center
pnlH.AddView(lblB, 0, 0, getWidth, PanelHeight)
AddToSV(pnlH, PanelHeight, False)
PaintBackground(pnlH, False)
End Sub
Advance thank you for the time