M MarkoMylo Member Licensed User Longtime User Jan 27, 2013 #1 HOW TO ADD TEXT TO A LABEL. i 've created some design, added label1 Dim Label1 As Label dim cards(300) as string in activity create i add cards(1)="heart" label1.text = cards(1) and no text appears
HOW TO ADD TEXT TO A LABEL. i 've created some design, added label1 Dim Label1 As Label dim cards(300) as string in activity create i add cards(1)="heart" label1.text = cards(1) and no text appears
mangojack Expert Licensed User Longtime User Jan 27, 2013 #2 seems to work here .? B4X: Sub Activity_Create(FirstTime As Boolean) Label1.Initialize("") Label1.TextSize= 30 Activity.AddView(Label1,0dip,0dip,100dip,50dip) cards(1)="heart" Label1.text = cards(1) End Sub Cheers mj Upvote 0
seems to work here .? B4X: Sub Activity_Create(FirstTime As Boolean) Label1.Initialize("") Label1.TextSize= 30 Activity.AddView(Label1,0dip,0dip,100dip,50dip) cards(1)="heart" Label1.text = cards(1) End Sub Cheers mj